Tuesday, July 28, 2009

Unable to start debugging on the web server

Error : Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request.Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without Debugging. You may also want to refer to refer to the ASP.NET and ATL Server debugging...
Share:

Saturday, July 25, 2009

Making table of contents in ms. word 2007

There are times when we need to make table of contents after making an article. It would be quite troublesome to make it manually if the article is long enough. Fortunately, if you're writing it in ms. office, there has been a functionality provided for it.Here is a video about how to make table of contents using ms. word 2007. It should be more or...
Share:

Friday, July 24, 2009

Retrieving Tables and Columns in a Database

This is how to retrieve tables & columns in the table from a database:Dim rs As ADODB.RecordsetSet rs = New ADODB.RecordsetSet rs = con.OpenSchema(adSchemaColumns)While Not rs.EOF Text1.Text = Text1.Text & rs!Table_Name & " - " & rs!COLUMN_NAME & vbCrLf rs.MoveNextW...
Share:

Retrieving Tables in a Database

This is how to retrieve all tables in a database:Object needed:A Textbox named Text1Dim rs As ADODB.RecordsetSet rs = New ADODB.RecordsetSet rs = con.OpenSchema(adSchemaTables)While Not rs.EOF If rs!Table_Type = "TABLE" Then Text1.Text = Text1.Text & rs!TABLE_NAME & vbCrLf rs.MoveNextW...
Share:

How to get column names of a table

This is how to retrieve column / field names of a table from VB using adodb connection:con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\database.mdb;Persist Security Info=False"Set rs = New ADODB.Recordsetsql = "select * from table_name"Set rs = con.Execute(sql)Dim i As IntegerFor i = 0 To rs.Fields.Count - 1 MsgBox...
Share:

Thursday, July 23, 2009

CustomError mode

Error :Server Error in '/' Application.Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.Details: To...
Share:

Error detected by database DLL

Error : Error detected by database DLLThis error occurs when trying to open report produced using Crystal Report in application, one of which is application developed using VB.Solution :1. If you are using ODBC, make sure the ODBC has been created.Here are the steps to create...
Share:

Adding web reference in Visual Studio 2008 or later

Some people get confused adding web reference in Visual Studio 2008 or later, since it's not by default in the Solution explorer. Only Service reference is shown.Web reference is actually still available on Visual Studio 2008 or later.Just right-click on the project where the web reference is to be added, choose Add Service Reference, then click Advanced...
Share:

Wednesday, July 15, 2009

Operation is not allowed when object is closed

Error: Operation is not allowed when object is closed.Solution:1. Check if a recordset or connection is opened before recordset operation is performed.2. If stored procedure is used while retrieving the data to recordset, REMEMBER to use "SET NOCOUNT ON" at the beginning of the stored procedure. This is a problem which usually occurs when multiple...
Share:

Friday, July 3, 2009

Posting to blog from Ms. Office 2007

You can directly post to your blog without having to go your blog first.Simply open your Microsoft Word 2007, then choose New -> New Blog Po...
Share:

You may be intersted in

Related Posts

Updating Table Containing Xml Column via LinkedServer

If you are trying to update a table containing XML column via Linked Server in SQL Server, and you are not able to, you are not alone. There...

About Me

My photo
Is an ordinary man, with a little knowledge to share and high dreams to achieve. I'd be glad if I can help others, 'coz the only thing for the triumph of evil is for a good man to do nothing.

About Blog

You can find a lot of debugging and deploying problems while developing applications in .NET and Visual Basic here. There are also some querying tips in SQL and typical source codes which might be useful shared here.

Popular Posts

Blogroll

Followers

Leave a Message