Mike Hildner
01-05-2006, 09:52 AM
Greetings,
Newbie having some troubles deploying a web service (.NET 2.0). I searched the KB and forums, but couldn't find anything.
First I just FTP'd all my files over into a new folder and received this message when trying to access the .asmx:
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
So then I used the Web Application Tool to set up that folder as a web application. Now when trying to navigate to the .asmx, I get:
Compiler Error Message: CS0246: The type or namespace name 'ShoppingCart' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 17: public class ProfileCommon : System.Web.Profile.ProfileBase {
Line 18:
Line 19: public virtual ShoppingCart ShoppingCart {
Line 20: get {
Line 21: return ((ShoppingCart)(this.GetPropertyValue("ShoppingCart")));
Source File: c:\WINDOWS\microsoft.net\Framework\v2.0.50727\Temp orary ASP.NET Files\webservice_ponderosa creek messenger web service\c99e440a\2ce3cabe\App_Code.jnljngs8.1.cs Line: 19
Compiler Warning Messages:
Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
I have no idea where this is coming from. I don't have a "ShoppingCart" class. I also don't know why (I assume) DASP's compiler is trying to access a path for which it has no permissions.
Like I said, I'm a newbie to DASP, I assume I'm missing something basic.
Any help is appreciated,
Mike
Newbie having some troubles deploying a web service (.NET 2.0). I searched the KB and forums, but couldn't find anything.
First I just FTP'd all my files over into a new folder and received this message when trying to access the .asmx:
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
So then I used the Web Application Tool to set up that folder as a web application. Now when trying to navigate to the .asmx, I get:
Compiler Error Message: CS0246: The type or namespace name 'ShoppingCart' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 17: public class ProfileCommon : System.Web.Profile.ProfileBase {
Line 18:
Line 19: public virtual ShoppingCart ShoppingCart {
Line 20: get {
Line 21: return ((ShoppingCart)(this.GetPropertyValue("ShoppingCart")));
Source File: c:\WINDOWS\microsoft.net\Framework\v2.0.50727\Temp orary ASP.NET Files\webservice_ponderosa creek messenger web service\c99e440a\2ce3cabe\App_Code.jnljngs8.1.cs Line: 19
Compiler Warning Messages:
Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
I have no idea where this is coming from. I don't have a "ShoppingCart" class. I also don't know why (I assume) DASP's compiler is trying to access a path for which it has no permissions.
Like I said, I'm a newbie to DASP, I assume I'm missing something basic.
Any help is appreciated,
Mike