.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Call for Abstracts Now Open for Fall Microsoft ASP.NET Connections (Closes Apr 22)

Posted By: plitwin     Posted Date: April 10, 2011    Points: 0   Category :ASP.Net
Dear Colleague, 

We would like to extend you an invitation to submit abstracts for consideration to speak at the Fall 2011 Microsoft ASP.NET Connections conference (part of DevConnections) in Las Vegas, October 31- Nov 3, 2011.  

The deadline for submissions is Friday, April 22, 2011. 
For submitting sessions, please use this URL: http://www.deeptraining.com/devconnections/abstracts  

Please keep the abstracts under 200 words each and in one paragraph. No b

View Complete Post

More Related Resource Links

Microsoft Office Excel cannot open or save any more documents because there is not enough available


hi all,

     i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,

i wrote the complete code for it but the it is saying

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 

i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :

Imports System.Data.OleDb
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Tools.Excel
Imports System

System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Excel cannot open or save any mo


Hello good people, 

I have this beast as an error. Did my research and found some posts here as well but did not do any good for me. 

Here is what I did. I had an error regarding issue rights with COM objects so I gave access rights under component services for Microsoft Excel application now I am getting this error. 

Here is some information regarding this

1. Gave rights to ASPNET and network service to my web app directory to try to fix this error. 

2. The exact same process works on my Windows 2003 server and my Windows 7 development machine. I am trying to get this going on a different windows 2003 machine that is outside of our domain.

3. Developing on windows 7 64 bit with office 2010 installed. Also excel 2010 is installed on my Web server

4. Here is the code that is causing the error: The last line is causing the error.:

            MyXl = new Microsoft.Office.Interop.Excel.Application();
            MyXl.Visible = false;
            MyWb = (Microsoft.Office.Interop.Excel._Workbook)(MyXl.Workbooks.Add(Missing.Value));
            int test = 0; 
            MySheet = (Microsoft.Office.Interop.Excel._Worksheet)MyXl.ActiveSheet;
            if (reader.HasRows)
                int InRow = 2; 
                for (int i = 0; i < Nu

Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Er

I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL.   I get the following message: Unable to open physical file "C:\ArrowSQL\Arr@Data\Arrow_data.mdf" Operating system error 5: "5(error not found)" (Microsoft SQL Server: Error 5120)".   I have loaded SQL and the database fiel and directory with the same user acccount which is a local adminstrator ont hsi machine. I have checked that I have read/write access to the file.   The machine runs Windows Vista Business. SQL has SP 2 loaded.   What causes this?

internet explorer closes. I can't get my e-mail to open a comment from facebook

when I try to open my internet explorer it either won't open at all or it workd for awhile then it crashes. I was able to open my yahoo mail and open facebook comments from the yahoo e-mail but it never connects 

Sorry for this, but: I'm not able to open the thread "Media Center Addin x64: Microsoft.MediaCenter

Sorry for this, but: I'm not able to open the thread "Media Center Addin x64: Microsoft.MediaCenter.Guide" Get error for two days now. Tried different browser and machines. Is it working for you? Any suggestion? URL: http://social.msdn.microsoft.com/Forums/en-US/netfx64bit/thread/70189e0e-cf6b-4a36-94e8-399e09812614

ODBC--call failed.[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismat

I need to establish a connection between an Access 2003 database (32 bit) and an 11g 64 bit Oracle database on a server. I am running Windows 7 on a 64 bit laptop. I did a clean install of Oracle 11g for 64 bit. I have no problem accessing the Oracle database via the Oracle SQL Developer. I just have a problem from within Access. I hope someone can help me. I've been fighting this for several months. Thanks in advance!

Call parent window Page_Load when child closes

 I have a popup window that I open using  window.showModalDialog('Popup.aspx'); The client enters some information and then clicks a 'Save' button on the Popup window.  At that point I want the popup window to close and refresh the parent window which I though would execute the page_load event on the parent window. Here is the code that I have for the button click on the popup window. window.returnValue = true; window.close(); The popup window closes and it seems like the parent refreshes, but the page_load event on the parent is not called.  I put in a breakpoint to verify.  I need the page_load event to execute.   Thanks in advance for your help, JZ

How to open and read Word content using Open XML SDK 2.0 for Microsoft Office?

Hello, I've built a component to read a Word Document and open it in silverlight, so I'm interested in Open XML SDK 2.0 for Microsoft Office, I read the document about this and some several examples, they're just talk about read the Headers, Comment,...and also I want to read the Word content.   Please help me, thank you.

Send/open timeouts on WAS-hosted WCF service with named pipe orTCP binding, per-call instancing

We have a client that sends requests to a per-call WCF service (WAS hosted, NP binding, same machine) in a loop. The WCF service calls an external EXE to process requests. The operations on the service can take a few seconds, or a few hours. To combat this, we have sendTimeout=00:05:00, receiveTimeout=00:05:00 and a built-in circuit-breaker on the service that kills the external process after 00:05:00. Any service-side errors are returned to the client as FaultExceptions.  On the client, FaultExceptions are logged and the client proxy is aborted (proxy.Abort()). The client has configurable multithreading. In this example, it is running 3 threads, each of which creates a proxy, makes a call, and closes the proxy (or aborts it if an exception was received). Since the service is instanced as per-call, and it never receives more than 3 simultaneous calls (each of which being followed by a .Close() or .Abort() on the proxy), I would not expect the client to be getting timeouts during the send, but I am. In fact, the send timeouts I am receiving would seem to imply that the WCF service is hitting the default session limit, even though the class is explicitly marked with [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]. I put some trace logging on the client and I can see that the timeout is occurring when the proxy is being created. sendTimeout seems to

Cannot open Microsoft Expression Studio 4 using Windows 7 Ultimate


I run Windows 7 Ultimate and I purchased the academic version/pricing of Microsoft Expression Studio 4 - I have it installed but when I try to open it I get windows is searching for a problem the error reads:

Microsoft Expression Web 4 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Then I removed and reinstalled the product and still got the message.  I have .NET Framework 4  and Silverlight 4 installed as well.  I have already tried live chat and they sent me to this forum section.  I have a Dell Studio XPS with a full set of amenities - lots of Ram, hard drive space, etc.  Any help or suggestions are greatly appreciated - I'm in the need for a fast fix as work is piling up.   Thanks so much,

traveling librarian

detecting half open TCP connections in ASP.NET / IIS7


Can ASP.NET / IIS7 detect half open TCP connections? Or dead connections, where the client has dropped off for whatever reason?

I can't find information on how ASP.NET / II7 might use TCP keep alives to do this (and cleanup dead connections). Any pointers?

open the microsoft word through ASP.NET



I open Microsoft Word through ASP.NET , when I load by visual studio 2008 works well.

but when I put my site in my IIS folder and access the site through Internet Explorer and click the button nothing happens.

Don't happen anything. Why my code : 

 wdApp = New Microsoft.Office.Interop.Word.Application

doens`t works?

Exception thrown on client proxy call to open

Exception thrown System.InvalidOperationException: The communication object cannot be modified while it is in the Opened state.

The following code throws this exception:

                if (dataAcesssProxy == null)
                    dataAcesssProxy = new CompetellaDataAccessService.CompetellaDataAccessClient();
                    dataAcesssProxy.ClientCredentials.Windows.ClientCredential = new System.Net.NetworkCredential("someuser", "password", "domain");

                    dataAcesssProxy.InnerChannel.Faulted += new EventHandler(InnerChannel_Faulted);

Browsing a cube: Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft V


When I try to reconnect using the cube browser (in both Visual Studio and SQL Management Studio) I get the following error:

Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)
Program Location:
   at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.TranslatePivotTable()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdatePivotTable(Boolean translate)
   at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdateAll(Boolean translate)
   at Microsoft.AnalysisServices.Browse.CubeBrowser.ReconnectCanFail()
   at Microsoft.AnalysisServices.Browse.CubeBrowser.SupportFunctionWhichCanFail(FunctionWhichCanFail function)

And when I try to drag stuff from the measure group (the left panel) I get:

Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)
Program Location:
   at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets()
   at Microsoft.AnalysisServices.Controls.PivotTableHash.get_FieldSetsEnumerator()
   at Microsoft.AnalysisServices.Controls.PivotTableHash.GetFieldSet(String uniqueName)
   at Microsoft.AnalysisServices.Controls.PivotTableBoundMetadataBrowser.GetPiv

Microsoft JScript Runtime Error-Cannot Call Response .Write


i am simply doing a searching of records on button click if record found it will be display in gridview pther wise  it will print me a message no value found

but everytime when it execute my Else Block it always throws me this script error how i can resolve it

Currently Using Ajax Update Panel Script Manager C#

my Html

                    <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <asp:GridView ID="GridView1" runat="server" Width="385px">
                <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
        </asp:UpdatePanel> </td>

My Code Behind

protected void Button1_Clic

window.open call does not work in Dynamic Data Website


I have a Dynamic Data .net 3.5 website.  I am trying to have a popup display from the code behind.  Below is the code.  The calling form has an update panel surrounding the content.  I get a 404 'resource cannot be found' when it runs.  I have tried OpenNewWindow("ConfirmExam.aspx"); and OpenNewWindow("~Exams/ConfirmExam.aspx");.  The ConfirmExam.aspx and the calling page are in the same folder called Exams.  The calling page is a custom page iin /Custom Pages/Exams/Insert.aspx.  The ConfirrmExam.aspx page has yes and no buttons.  It executes code to go to a page based on the response.  I am open to suggestions.

//this is the method call

//this is the method definition
public void OpenNewWindow(string url)
               ScriptManager.RegisterStartupScript(this.UpdatePanel1, typeof(string), "newWindow", String.Format("<script>window.open('{0}');</script>", url), false);


Error: Cannot call methods on int (Microsoft SQL server, error: 258


I have written this SQL query in query designer in Report Builder

When I run it I appear to be getting the following message:

Cannot call methods on int (Microsoft SQL server, error: 258). Does anyone know why I am getting this. In theory this query should work.


AccountsContacts.ContactID AS [AccountsContacts ContactID]









,Enquiries.ContactID AS [Enquiries ContactID]




inner JOIN Enquiries ON Enquiries.ContactID = AccountsContacts.ContactID


Enquiries.EnquiryID = @Enquiries.EnquiryID

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend