Breaking News

Editors Picks

Showing posts with label .NET Error. Show all posts
Showing posts with label .NET Error. Show all posts

Tuesday, October 9, 2012

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

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

While you are trying to read a CSV file and trying to get the data in a Dataset using Microsoft Text Driver in your 64 bit machine, you will be shown an error message as:

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

Try the solution as I do. It worked for me:
1. Go to IIS and Application Pools in the left menu.
2. Click the project name in the listing.
3. Click the Set Application Pool Defaults.
4. In General Tab, make the Enable 32 Bit Application entry to "True"


Now it works.
Read more ...

Wednesday, August 1, 2012

Error executing child request for ChartImg.axd


Introduction                          
        Error executing child request for ChartImg.axd.
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: Error executing child request for ChartImg.axd.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Read more ...

Monday, July 30, 2012

Excel Interop : System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot access the file


Introduction

System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot access the file 'D:\sunil\sunil.xls. There are several possible reasons: • the file name or path does not exist. •
This error occur on widows server 2008 r2 64 bit

Read more ...

HTTP Error 404 - File or Directory not found with IIS 6.0


Introduction
"HTTP Error 404 - File or Directory not found" error message when you request dynamic content with IIS 6.0
Description
When you request dynamic content such as an Active Server Pages (ASP) page, an ASP.NET page, an Internet Services API (ISAPI) application, or a Common Gateway Interface (CGI) application on a Microsoft Windows Server 2003 server that is running Internet Information Services (IIS) 6.0, you may receive one of the following error messages:
Error message 1
HTTP Error 404 - File Not Found
Error message 2
HTTP Error 404- File or Directory not found
Solution
To permit IIS to serve content that requires a specific ISAPI or CGI extension that is already listed in the Web service extensions list, follow these steps:
  1. Open IIS Manager, expand the master server node (that is, the Server name node), and then select the Web service extensions node.
  2. In the right pane of IIS Manager, right-click the extension that you want to enable. In this example, this is Active Server Pages.
  3. Click to select the Allow check box.

Read more ...

Friday, July 27, 2012

How to Registrar IIS on Windows server or Windows 7 or Windows XP


Introduction

    How to Registrar IIS on Windows server or Windows 7 or Windows XP

Description

The ASP.NET ISAPI version mapped to an ASP.NET application determines which version of the common language runtime (CLR) is used for the application. The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) allows an administrator or installation program to easily update the script maps for an ASP.NET application to point to the ASP.NET ISAPI version that is associated with the tool. The tool can also be used to display the status of all installed versions of ASP. NET, register the ASP.NET version that is coupled with the tool, create client-script directories, and perform other configuration operations.
You can Registrar IIS using this command is below screen shot
aspnet_regiis -i



Read more ...

Monday, July 2, 2012

Mysql error 1093 - Can't specify target table for update in FROM clause


UPDATE  table_name a,
  (SELECT
Clonum_name    s
   FROM table_name
   GROUP BY Clonum_name   
   HAVING COUNT(DISTINCT Cable_no) > 1) b
SET Clonum_name    = CONCAT(Clonum_name    ,'_',Cable_no)
WHERE a. Clonum_name    = b.s
Read more ...

Monday, June 18, 2012

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.


“Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack" - This is one of the common error we see in forum where people request solution for it.
Below is a explanation and resolution to resolve this Problem,
This error normally occurs when we use Response. Redirect or Server. Transfer or Response. End in our code before completing the actual process the page was doing.
In this case what you have to do is          

and in place of Response.Redirect, use the Response.Redirect ("PagaName.aspx", false);

and in place of Server.Transfer, use the Server.Execute method
Read more ...

Tab is not working after textbox's textchanged event fired?


<script type="text/javascript">
  function KeyDown(e)
 {
    var e = e || event;
    var currKey = e.keyCode || e.which || e.charCode;
   if (currKey == 9)
   {
   document.getElementById("<%=Txtbox4.ClientID %>").focus();
   }
}
script>
<asp:TextBox ID="Txtbox1" runat="server"
  onkeydown="KeyDown();" >asp:TextBox>
<asp:TextBox ID="Txtbox2" runat="server">asp:TextBox>
<asp:TextBox ID="Txtbox4" runat="server">asp:TextBox>
Read more ...

Contact Us

Name

Email *

Message *