Archive for the “ASP” Category

ASPnet: Reference svcmap specified

Reference svcmap specified argument was out of the range of valid values

 

 this error occurs after deploying a WCF Service to IIS 6 which was referenced from Visual Studio 2008 with .NET Framework 3.5 SP1 and works perfectly in the local development environment. The server is a Windows Server 2003 with .NET Framework 3.5 without the SP1 installed. We solved the problem by installing 3.5 SP1.

June 1, 2009 Posted Under: ASP   Read More

ASPnet: Parser Error Message: Could not load type _Default’.

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: _Default

Ensure your app has been setup as a application and it set to the correct framework within iis

also ensure you are calling the correct projectname and class
Inherits=” .”

something = class which can be found in  the source file
Public Class _Default
Code-behind model

May 25, 2009 Posted Under: ASP   Read More

SQL/ASP: The timeout period elapsed prior to completion

Error:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

Try adding a Connect Timeout in the web.config

The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server.

Reference

May 16, 2009 Posted Under: ASP, SQL   Read More

.NET: Theme ‘Default’ cannot be found

Error: 
Theme ‘Default’ cannot be found in the application or global theme directories.
my view: The App_Themes directory is either missing or iis does not have access to it.
Reference

 

Tempory fix will be to remove the reference from the web.config file or commented it out.

April 18, 2009 Posted Under: ASP   Read More

.net: Microsoft OLE DB Provider for ODBC Drivers error ’80004005′

Error
Microsoft OLE DB Provider for ODBC Drivers error ’80004005′

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/2008/mission.asp, line 174

Notes: strange the error states no data source name found and no default driver specified. If you are certain your code is correct. Please contact your host and ensure the web folder has been set as a application. This resolved the error for me.

February 17, 2009 Posted Under: ASP   Read More