November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Robert.
Have you tried to remove the EPiServer httpModules for your virtual directory?
<location path="pathtoyourservice">
<!--IIS6-->
<system.web>
<httpModules>
<remove name="InitializationModule"/>
<remove name="Initializer"/>
<remove name="WorkflowRuntime"/>
<remove name="UrlRewriteModule"/>
</httpModules>
</system.web>
<!--IIS7-->
<system.webServer>
<modules>
<remove name="WorkflowRuntime" />
<remove name="UrlRewriteModule" />
<remove name="Initializer" />
<remove name="InitializationModule" />
</modules>
</system.webServer>
</location>
Hope this helps!
BR, Tore
Couldn't you just do...
<system.webServer>
<modules>
<clear/>
</modules>
</system.webServer>
Hi,
It did not help removing the httpModules for my virtual application.
I got som more information, when I run my virtual application in classic mode I can get it to work with htm-files. So far, so good. But when I navigate to an .ashx-file I get an error saying something like "this look like a script and will not be handled by the statis file handler" I can understand that cause my .ashx handler has the preCondition="integratedMode". So I than add a new ashx-handler:
<add path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode" responseBufferLimit="0" />
And now I get the exact same errormessage described in my first post.
hi robert
did you found any solution for your problem?
I tried the solution Tore proposed, but without any success.
BR
xuan
There's a Stackoverflow question about this:
http://stackoverflow.com/questions/1073170/invalid-token-in-class-struct-or-interface-after-checkout
Hello,
When I add an virtual application under an EPiServer website (cms 6) in IIS 7 I get an errormessage. Both the rootwebsite and the virtual application runs in integrated mode.
The error message:
Compiler Error Message:
Line 35: } Line 36: Line 37: public virtual EPiServer.Personalization.SubscriptionInfo, EPiServer SubscriptionInfo { Line 38: get { Line 39: return ((EPiServer.Personalization.SubscriptionInfo, EPiServer)(this.GetPropertyValue("SubscriptionInfo")));
Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\tpv4\359c80b7\b0aff9a4\App_Code.gvq_n_dt.0.cs Line: 37
CS1519: Invalid token ',' in class, struct, or interface member declaration
The virtual directory is just an ordinary .net application, it doesnt matter what it contains, not even a simple .htm-file works. Are you not supposed to add virtual applications under an EPiServer site? I've googled for it with no good answears.