Why do I get the error message ‘Sql Server does not exists or access denied ‘ whenever I try to access the data on Sql server

The ASP.NET worker process doesn’t have the correct permissions to connect to or write to the SQL Server database. Either enable impersonation for users, or configure the ASP.NET worker process to run under the SYSTEM account. The ASPNET account cannot establish a named pipes connection to the database server. Try using TCP/IP instead of the Named Pipes protocol to connect to the database by adding ‘Network Library =dbmssocn’ in your connection string For more information refer BUG: Named pipes do not work when worker process runs under ASPNET account Process and request identity in ASP.NET

Is there a method similar to Response.Redirect that will send variables to the destination page other than using a query string or the post method

Server.Transfer preserves the current page context, so that in the target page you can extract values and such. However, it can have side effects; because Server.Transfer doesnt’ go through the browser, the browser doesn’t update its history and if the user clicks Back, they go to the page previous to the source page. Another way to pass values is to use something like a LinkButton. It posts back to the source page, where you can get the values you need, put them in Session, and then use Response.Redirect to transfer to the target page. (This does bounce off the browser.) In the target page you can read the Session values as required. Refer to Passing Values Between Web Forms Pages for more information.

Where can I get the details on Migration of existing projects using various technologies to ASP.NET

Microsoft has designed Migration Assistants to help us convert existing pages and applications to ASP.NET. It does not make the conversion process completely automatic, but it will speed up project by automating some of the steps required for migration. Below are the Code Migration Assistants ASP to ASP.NET Migration Assistant PHP to ASP.NET Migration Assistant JSP to ASP.NET Migration Assistant Refer Migrating to ASP.Net

Why does the DataGrid web server control contents wrap when ItemStyle Wrap or HeaderStyle Wrap Property is set to False

The wrap functionality occurs for each cell and not for each row of the DataGrid. Therefore, if you disabled the wrap functionality for all of the DataGrid, text wrapping functionality is not disabled for every row or column. To resolve this make sure that every column of the DataGrid has the ItemStyle Wrap property explicitly set to False as follows: <ItemStyle Wrap=’False’></ItemStyle> For more details refer Microsoft Knowledge Base Article – 323169 Microsoft Knowledge Base Article – 324165