•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 427,495 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,456 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 4953 | Replies: 2
![]() |
•
•
Join Date: Sep 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I developed a web service in VS2003. The prototype ran great. I fully developed the functionality and in the meantime upgraded to VS2005. Now I can't get my web service to run.
I referred to
http://msdn2.microsoft.com/en-us/library/ms228268.aspx
At the MSDN site I am told that the compilation tags for VS2005 now reside in the machine.config file. I removed the following lines of code from the Web.config file:
[
<compilation defaultLanguage="c#" debug="true">
<compilers>
<compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/d
EBUG;TRACE"/></compilers></compilation>
]
However, now I get the following error:
/***** Error message pasted below *****
Server Error in '/webnavigator' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'webnavigator.Global'.
Source Error:
Line 1: <%@ Application Inherits="webnavigator.Global" Language="C#" %>
Source File: D:\hshome\champi\championgameware.com\webnavigator\global.asax Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
***** End the error message *****/
Unfortunately, I do not have access to the machine.config file of the remote server.
First, is the error because the machine.config file does not have the required compilation tags? If so, is there anyway (besides reverting to VS2003) to set the compilation tags in the Web.config file?
I referred to
http://msdn2.microsoft.com/en-us/library/ms228268.aspx
At the MSDN site I am told that the compilation tags for VS2005 now reside in the machine.config file. I removed the following lines of code from the Web.config file:
[
<compilation defaultLanguage="c#" debug="true">
<compilers>
<compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/d
EBUG;TRACE"/></compilers></compilation>]
However, now I get the following error:
/***** Error message pasted below *****
Server Error in '/webnavigator' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'webnavigator.Global'.
Source Error:
Line 1: <%@ Application Inherits="webnavigator.Global" Language="C#" %>
Source File: D:\hshome\champi\championgameware.com\webnavigator\global.asax Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
***** End the error message *****/
Unfortunately, I do not have access to the machine.config file of the remote server.
First, is the error because the machine.config file does not have the required compilation tags? If so, is there anyway (besides reverting to VS2003) to set the compilation tags in the Web.config file?
Even though your using Visual Studio 2005, your IIS Website is configured to use .NET 1.1. It says so itself, in the error message:
Upgrade the ASP.NET Version on the server (in the properties of the Web Site, or by using aspnet_regiis), and your site should work fine.
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Upgrade the ASP.NET Version on the server (in the properties of the Web Site, or by using aspnet_regiis), and your site should work fine.
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adult advertising blog browser browsing community data design development devices domains firefox google html illustrator india intel internet java legal linux marketing math merger microsoft mobile applications mozilla msn multimedia news php privacy report research rss search security sex software sun technology video w3c web web development wiki xml yahoo youtube
- database string in web.config not working (ASP.NET)
- setting the web.config file (ASP.NET)
- Web Config file error (ASP.NET)
- role of web.config file in MVC (ASP.NET)
- smb/// no host "null" (*nix Software)
- wat is web.config (ASP)
Other Threads in the C# Forum
- Previous Thread: Wanted source code
- Next Thread: Making a password manager


Linear Mode