Installation problems
Compiler Error Message: CS1595: 'object' is defined in multiple places;
Why do get this error message:
Compiler Error Message: CS1595: 'object' is defined in multiple places;
using definition from
'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
Show Answer
This is caused by the fact that the ASPNET account does not have permission to access the folders in the path to the mscorlib.dll assembly.
You will need to grant the necessary permissions to the ASPNET account. For more information see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318274
Hide Answer
Access denied to DbNetGrid virtual directory.
Why am I getting the following error:
Access denied to 'C:\Program Files\dbnetgrid\' directory. Failed to start monitoring directory changes.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Access denied to 'C:\Program Files\dbnetgrid\' directory. Failed to start monitoring directory changes.
Show Answer
By design, ASP.NET requires read, execute, and list access for the ASPNET account (the Aspnet_wp.exe process account) on the root Web site or on any virtual directory. This is necessary so that ASP.NET can access the content files and can monitor file changes.
You can find more information here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316721
Hide Answer
Server Application Unavailable
I am getting the folowing message:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Show Answer
To get the definitive reason for this error you will need to look in the Event Log. The usual cause is a permission issue because the ASPNET account does not gave permission to access the folder mapped to the virtual folder.
See the following link for more information
http://support.microsoft.com/kb/919075
Hide Answer
Cannot update. Database or object is read only ~2147217911.
When I try and edit data using one of the sample applications or save a profile in the Designer I get the message:
"Cannot update. Database or object is read only ~2147217911."
Show Answer
This is a permissions problem and requires the O/S file permissions on the files desngr.mdb and/or customer.mdb (in the samples folder) to be changed.
To do this follow the following steps:
1. Selet the file using Windows Explorer
2. Right-click on the file and select Properties
3. Select the Security tab
4. Assign "Full Control" to "Everyone" and click "OK"
<<<<<<<<<<<<< Windows XP Pro >>>>>>>>>>>>>
If you are running Windows XP Pro you may find that the Security tab is not available, if this is the case then you can try one of two things:
1. In Windows Explorer, select Tools/Folder Options/View and uncheck "Use simple file sharing". Then you'll get the security dialogs.
2. Add an identity tag to the web.config file to run as a user with a higher levels of permissions e.g.
There is more info on this issue here:
http://www.aspfaq.com/show.asp?id=2205
Hide Answer
The page cannot be displayed (HTTP 405)
Why am I getting a "HTTP 405 Error" message ?
Show Answer
If you are running Windows 2003 server then ASP.NET may not be installed. To install ASP.NET
1) Go to Control Panel --> Add/Remove Programs --> Windows Components
2) Select "Application Server"
3) Click on the "Details" button
4) Make sure that "ASP.NET" is checked
If you are running Windows 2000 or XP this error can occur if you installed IIS after you installed the .Net Framework
If this is the case then you may need to register manually the dll aspnet_isapi.dll found in the .Net install folder. To do so, follow these steps:
1) Click Start, and then click Run.
2) Type regsvr32 %windir%\Microsoft.NET\Framework\\aspnet_isapi.dll, and then click OK.
If you are running the classic ASP version of DbNetGrid then try this link:
http://www.aspfaq.com/show.asp?id=2253
Hide Answer
Access denied to {$BIN} directory. Failed to start monitoring directory changes.
Whay am I getting the following error:
Access denied to 'C:\DBNETG~1\BIN' directory. Failed to start monitoring directory changes.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Show Answer
The problem is most likely explained by one of the following KB articles
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316721
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q317955
If the problem persists then try changing the username for the processModel in the machine.config file
Before doing that we woudl recommend that tiy read this:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q317012&
Hide Answer
A potentially dangerous Request.Form value
I have just installed version 1.1 of .Net Framework and am getting the message:
A potentially dangerous Request.Form value was detected from the client (procedureparameters="
Show Answer
Change the first line of dbnetgrid.aspx
from
<%@ Page Language="VB" EnableSessionState="false" %>
to
<%@ Page Language="VB" EnableSessionState="false" ValidateRequest="false" %>
Hide Answer
Parser Error Message: Access is denied: 'dbnetgrid'.
I am getting the following error message when I run DbNetGrid:
Parser Error Message: Access is denied: 'dbnetgrid'.
Show Answer
You need to change the permissions for the ASPNET account.
You find more information about this here:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q317012&
Hide Answer
"Unspecified Error" when running the samples with DbNetGrid.Net
When I run the sample applications in DbNetGrid.Net I get the error message "Unspecified Error"
Show Answer
Check to see if the web.config file in the DbNetGrid installation folder contains the entry:
If it does then remove that line.
If problems continue then refer to the following Microsoft KB article
http://support.microsoft.com/default.aspx?scid=kb;en-us;827190&Product=aspnet
Hide Answer
Oracle client and networking components were not found
I am getting the following error message:
Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.
Show Answer
Assuming that the Oracle client software has been installed on the web server then probably permissions related in that the IUSER_ does not have access the Oracle DLL.
This is explained in the following MS KB article.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;255084
Hide Answer
MDAC Version means I can't run the samples as I do not have the Jet drivers installed
I can't run the samples as the earliest verison of MDAC on my machine is higher than 2.5 which did not install the Jet drivers
Show Answer
You can install the latest Jet Service Pack.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q239114
Hide Answer
Server Application Unavailable
I am getting the following error:
Server Application Unavailable
aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure
that the .NET Framework is correctly installed and that the ACLs on the
installation directory allow access to the configured account.
Show Answer
See the following MS KB article:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;811320
Hide Answer
The Root element is missing
When I run the component I get the error message
"The Root element is missing"
Show Answer
This is caused by component virtual folder inheriting a "cookieless" property set to "true" in the "sessionState" node in the web.config file.
To fix the problem you will need to add the following line to the web.config file in the DbNetGrid installation folder.
...
...
Hide Answer
Installing DbNetSuite on a shared server
How do I go about installing DbNetSuite on a shared server?
Show Answer
Download the DbNetSuite zip archive and upload it to your shared server. Extract the zip archive into a new folder and then create the following seven virtual folders in IIS, making each one an application;
(1) 'dbnetsuite' maps onto the installation folder
(2) 'dbnetgrid' maps onto the DbNetGrid subfolder of the installation folder
(3) 'dbnetedit' maps onto the DbNetEdit subfolder of the installation folder
(4) 'dbnetfile' maps onto the DbNetFile subfolder of the installation folder
(5) 'dbnetcombo' maps onto the DbNetCombo subfolder of the installation folder
(6) 'dbnetlist' maps onto the DbNetList subfolder of the installation folder
(v7) 'dbnetspell' maps onto the DbNetSpell subfolder of the installation folder
Hide Answer
The XML page cannot be displayed
I'm getting the following error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://hp_laptop/dbnetsuite/menu.aspx'. Line 1, P...
<%@ Page language="C#" Inherits="DbNetLink.Web.SuiteMenu"%>
-^
Show Answer
This error indicates that ASP.NET is either not installed or has not been registered with IIS.
If you believe ASP.NET is installed then try running
"C:\WINDOWS\Microsoft.NET\Framework\{version}\aspnet_regiis.exe"
Hide Answer
How can I run DbNetSuite as a part of my MVC application ?
I get an error when I try and run DbNetSuite as a part of my MVC application
Show Answer
You wil need to add the following line to the Global.asax.cs file:
public class MvcApplication : System.Web.HttpApplication
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.IgnoreRoute("{resource}.ashx/{*pathInfo}"); <-- Add this line
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
);
}
protected void Application_Start()
{
RegisterRoutes(RouteTable.Routes);
}
}
Hide Answer
Server Error in '/DbNetSuite4' Application.
I'm getting the following error message even though I have version 2 (or above) of the .Net Framework installed.
Server Error in '/DbNetSuite4' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized configuration section 'connectionStrings'
Show Answer
Even though you have a later version of the .Net Framework installed you may still need to tell your web application to use the later version of ASP.NET.
To do this:
1. Select the properties dialog for the web site or virtual folder in IIS
2. Select the ASP.NET tab
3. Select version 2.0 (or above) as the ASP.NET version
Hide Answer