I have the following directory structure on my IIS web site c:\mysite\adam. Adam was configured as an 'application' and contained web.config file in it. Now I have decided that I want to remove the adam application and instead create an 'Application' on the mysite level. Hence I moved the web.config file to mysite level. When I do this, I get errors indicating
BC30002: Type 'MyWebservice.MyWebservice' is not defined.
MyWebService is defined in web.config file. <add key="MyWebService.MyWebservice" value="http://someservice/thisservice/thisservice.asmx">
I did not modify the web.config file after I moved the 'application' from c:\mysite\adam to c:\mysite.
Can anyone help me with why I am getting this error message?
I am not sure what you mean by moving 'the rest of your site with the web.config'. I just moved the web.config file one level up in the heirarchy and declared that level as the 'application' .
Yes I am using IIS 6.0
How do I set IIS to look for web.config in the new location? ASP.NET tab in mysite properties box indicates that web.config now lived in c:\mysite
BTW: All this site is configured with conventional/old ASP. Only small portions are asp.net.
MyWebservice is defined as following:
<add key="MyWebservice.MyWebservice" value="http://docmgmt/docwebservice/docwebservice.asmx" />