You may have accidentally changed your Web Site configuration from Debug to Release. Change it back and debugging should start work again.
- Click Build and select Build in Configuration Manager value
- Change the Active solution configuration from Release to Debug and click Close.
- Try debugging and see if your breakpoints are hit.
Hope this helps.
This blog is about developers who are working on MS Technologies and mobile development. You can find very interesting stuff related to MS Technologies like ASP.NET, C#, VB.NET, SharePoint 2003, SharePoint 2007, MS SQL SERVER 2000 , MS SQL SERVER 2005, MS SQL SERVER 2008 and about latest technologies. Also people can also post stuffs related MS Dynamics CRM 3.0, MS Dynamics CRM 4.0 , MS Dynamics GP, Ms Dynamics Soloman.
Sunday, July 11, 2010
Monday, July 5, 2010
Unable to start debugging. The silverlight managed debugging package isn't installed.
Suppose you installed latest version of Silverlight (Silverlight 4), It may break the your current silverlight development environment with VS 2008. After in the Silverlight 4 installation, if you try to debug any Silverlight 3 project, you will get a message from Visual Studio 2008, saying "Unable to start debugging. The Silverlight managed debugging package isn’t installed"..
Solution :
To fix this error, install the Silverlight Developer Run time. You can get it from here : http://go.microsoft.com/fwlink/?LinkID=188039.
Solution :
To fix this error, install the Silverlight Developer Run time. You can get it from here : http://go.microsoft.com/fwlink/?LinkID=188039.
Labels:
Silverlight with Vs 2008
Installation failed with error code: (0x80070643), Fatal error during installation for VS 2008
While I was installing Silverlight. I got following error.
Problem:
Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Exe (C:\DOCUME~1\JAIPRA~2.SIL\LOCALS~1\Temp\Silverlight Tools RTW\Silverlight.2.0_Developer.exe) failed with 0x80070643 - Fatal error during installation. .
Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Final Result: Installation failed with error code: (0x80070643), Fatal error during installation.
Solution :
1- After installing VS 2008 SP1 restart your system.
2- Remove all the previous version of Silverlight.
3- Run setup again
It will work.
Problem:
Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Exe (C:\DOCUME~1\JAIPRA~2.SIL\LOCALS~1\Temp\Silverlight Tools RTW\Silverlight.2.0_Developer.exe) failed with 0x80070643 - Fatal error during installation. .
Exe (d:\d7baf3d2979ba5016553d37455c7664c\PurgeSLTCache.exe) succeeded.
Final Result: Installation failed with error code: (0x80070643), Fatal error during installation.
Solution :
1- After installing VS 2008 SP1 restart your system.
2- Remove all the previous version of Silverlight.
3- Run setup again
It will work.
Saturday, March 20, 2010
Validation (): Element "elementname" is not supported in ASP.NET WebForms in Visual Studio 2008 and Visual Studio 2005
Sometimes application will compile and run properly but in IDE you got following warning message on each control.
"Validation ():Element is not supported"
Solution:
Visual Studio 2008 - Delete all files from below location in your machine,
1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedSchemas
2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedTypeLibs
Visual Studio 2005 - Delete all files from below location in your machine,
1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas
2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedTypeLibs
Thanks
"Validation ():Element
Solution:
Visual Studio 2008 - Delete all files from below location in your machine,
1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedSchemas
2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\9.0\ReflectedTypeLibs
Visual Studio 2005 - Delete all files from below location in your machine,
1:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas
2:- C:\Documents and Settings\[Username]\Application Data\Microsoft\VisualStudio\8.0\ReflectedTypeLibs
Thanks
Labels:
visual studio 2005,
visual studio 2008
Friday, January 29, 2010
Microsoft Top Benefits of Microsoft Office 2010 Beta
1-Express your ideas more visually
Office 2010 opens up a world of design options to help you give life to your ideas. The new and improved picture formatting tools such as color saturation and artistic effects let you transform your document visuals into a work of art. Combined with a wide range of new pre-built Office themes and SmartArt® graphic layouts, Office 2010 gives you more ways to make your ideas stick.
2-Accomplish more when working together
Brainstorm ideas, provide better version control, and meet deadlines faster when you work in groups. The co-authoring experience for Microsoft® Word 2010, Microsoft PowerPoint 2010, Microsoft® Excel Web App and Microsoft OneNote shared notebooks let you work on a file with several people at once - even from different locations.2
3-Enjoy the familiar Office experience from more locations and more devices
With Office 2010, you can get things done more easily, from more locations and more devices. Using a smartphone or virtually any computer with an Internet connection, you can work when and where you want to work.3
Microsoft Office Web Apps
Extend your Office 2010 experience to the Web. Store your Word, Excel, PowerPoint, and OneNote files online and then access, view, edit, and share content through the web.
Microsoft Office Mobile 2010
Stay current and respond quickly using enhanced mobile versions of Office 2010 applications, specifically suited to your Windows Mobile-based smartphone.
4-Create powerful data insights and visuals
Track and highlight important trends with new data analysis and visualization features in Excel 2010. The new Sparklines feature delivers a clear and compact visual representation of your data with small charts within worksheet cells. Filter and segment your PivotTable data in multiple layers using Slicers to spend more time analyzing and less time formatting.
5-Deliver compelling presentations
Captivate your audience with personalized videos in your presentation. Insert and customize videos directly in PowerPoint 2010—trim, add fades and effects, or bookmark key points in the video to call attention to selected scenes. Videos you insert are now embedded by default, relieving you from managing and sending additional video files.
know more
Office 2010 opens up a world of design options to help you give life to your ideas. The new and improved picture formatting tools such as color saturation and artistic effects let you transform your document visuals into a work of art. Combined with a wide range of new pre-built Office themes and SmartArt® graphic layouts, Office 2010 gives you more ways to make your ideas stick.
2-Accomplish more when working together
Brainstorm ideas, provide better version control, and meet deadlines faster when you work in groups. The co-authoring experience for Microsoft® Word 2010, Microsoft PowerPoint 2010, Microsoft® Excel Web App and Microsoft OneNote shared notebooks let you work on a file with several people at once - even from different locations.2
3-Enjoy the familiar Office experience from more locations and more devices
With Office 2010, you can get things done more easily, from more locations and more devices. Using a smartphone or virtually any computer with an Internet connection, you can work when and where you want to work.3
Microsoft Office Web Apps
Extend your Office 2010 experience to the Web. Store your Word, Excel, PowerPoint, and OneNote files online and then access, view, edit, and share content through the web.
Microsoft Office Mobile 2010
Stay current and respond quickly using enhanced mobile versions of Office 2010 applications, specifically suited to your Windows Mobile-based smartphone.
4-Create powerful data insights and visuals
Track and highlight important trends with new data analysis and visualization features in Excel 2010. The new Sparklines feature delivers a clear and compact visual representation of your data with small charts within worksheet cells. Filter and segment your PivotTable data in multiple layers using Slicers to spend more time analyzing and less time formatting.
5-Deliver compelling presentations
Captivate your audience with personalized videos in your presentation. Insert and customize videos directly in PowerPoint 2010—trim, add fades and effects, or bookmark key points in the video to call attention to selected scenes. Videos you insert are now embedded by default, relieving you from managing and sending additional video files.
know more
Labels:
MS Office 2010
Sunday, November 29, 2009
Increase Followers in your twitter account
We have been increased 2000 followers in last 2 weeks, it is excellent system which can increase your followers list in your twitter account.
Click Here
Click Here
Labels:
increase followers,
twitter
Wednesday, October 28, 2009
The server rejected the sender address. The server response was: 530 5.7.0 Must issue a STARTTLS command first
Cause: When you are going to send mail in asp.net 1.1 by using google smtp server.then generally following error come.
Error:"The server rejected the sender address. The server response was: 530
5.7.0 Must issue a STARTTLS command first. f42sm2050000rvb.9"
Solution: Basically problem is SSL and Port. you need to set smtpusessl true and smtpserverport is 465.
C# Code:
MailMessage mail = new MailMessage();
mail.From = "fromjai@gmail.com"; // put the from address here
mail.To = "tojai@domain.com"; // put to address here
mail.Subject = "Test"; // put subject here
mail.Body = "Testing 12345 "; // put body of email here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2"); //port to launch send
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "reporting@domain.com"); //set your username here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "yourpassword"); //set your password here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465"); //set your port here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com"); //set your password here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", true); //set SSL option to true
// send the mail
SmtpMail.Send(mail);
hope this help.
Error:"The server rejected the sender address. The server response was: 530
5.7.0 Must issue a STARTTLS command first. f42sm2050000rvb.9"
Solution: Basically problem is SSL and Port. you need to set smtpusessl true and smtpserverport is 465.
C# Code:
MailMessage mail = new MailMessage();
mail.From = "fromjai@gmail.com"; // put the from address here
mail.To = "tojai@domain.com"; // put to address here
mail.Subject = "Test"; // put subject here
mail.Body = "Testing 12345 "; // put body of email here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2"); //port to launch send
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "reporting@domain.com"); //set your username here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "yourpassword"); //set your password here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465"); //set your port here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com"); //set your password here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", true); //set SSL option to true
// send the mail
SmtpMail.Send(mail);
hope this help.
Labels:
asp.net 1.1,
Mail
Sunday, September 20, 2009
: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3
Installed Microsoft Framework 3.5 SP1.
Labels:
visual studio 2008
Thursday, September 17, 2009
System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\...' is denied
This exception is a very common exception. It usually occurs when we move our application to IIS server.
This exception occurs because IIS uses ASP .Net (IIS_IUser in Vista) user account and ASP .Net is not authorized to access that location.
To give a quick fix to this, follow these steps:-
1-Give read/write rights to ASP.NET user to C:\Inetpub\yourfolder\ folder:-
1- Right Click on Folder and Select Properties
2- Go to Security Tab
3- Click Add, then click Location.
4- Select your pc name, usually first item.
5- Press Ok, then press advance and then Find Now.
6- Select ASP.NET user if not exist then select Authenticated Users.
7- Press Ok. And Select Read/Write/Modify/List Folder Contents
2- Go to IIS->WebSites->DefaultWebSite->YourWebSiteName->Properties, and at Virtual Directory Tab check 'Read' and 'Write' button.
This exception occurs because IIS uses ASP .Net (IIS_IUser in Vista) user account and ASP .Net is not authorized to access that location.
To give a quick fix to this, follow these steps:-
1-Give read/write rights to ASP.NET user to C:\Inetpub\yourfolder\ folder:-
1- Right Click on Folder and Select Properties
2- Go to Security Tab
3- Click Add, then click Location.
4- Select your pc name, usually first item.
5- Press Ok, then press advance and then Find Now.
6- Select ASP.NET user if not exist then select Authenticated Users.
7- Press Ok. And Select Read/Write/Modify/List Folder Contents
2- Go to IIS->WebSites->DefaultWebSite->YourWebSiteName->Properties, and at Virtual Directory Tab check 'Read' and 'Write' button.
Wednesday, September 16, 2009
Operation must use an updateable query.
Hi one my friend is getting this error "Operation must use an updateable query"
Solution:
Error Message:
Operation must use an updateable query. /file.asp 12
Cause:
The most common reason this error is generated is the database or directory containing the database you are trying to access does not have the correct permissions.
Resolution:
Either move the database to the "access_db" directory or add read/write permissions to the directory where the database resides.
Solution:
Error Message:
Operation must use an updateable query. /file.asp 12
Cause:
The most common reason this error is generated is the database or directory containing the database you are trying to access does not have the correct permissions.
Resolution:
Either move the database to the "access_db" directory or add read/write permissions to the directory where the database resides.
Labels:
access database,
godaddy
Thursday, September 3, 2009
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
Error: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
Cause: Either debug is not enabled in your web.config (OR) For some reasons IIS is not considering your web application as a virtual directory. Instead it is considering it to be a normal folder.
Solution 1:
Step 1: Open the web.config
Step 2: If debug is set to "false" change it to "True".
For example: In web.config I have a line like this I would change it to
If at all this doesn't work. Try out the next solution.
Solution 2:
1.From the Start menu, choose Programs, then Administrative Tools, and click Internet Information Services.
2.In the Internet Information Services dialog box, click the tree control for your machine, open the Web Sites folder, and find your web site.
3.Right-click Web Site and choose Properties.
4.In the Web Site Properties window, select the Directory tab.
5.Under Application Settings, look for the Remove or Create button. If the button says Remove, your website is already configured as an application. If the button says Create, click the button to configure your website as an application.
6.Click OK.
If it also doesn't work, try the next solution.
Solution 3:
If you are running Visual Studio 2003 (or ASP.NET v1.1) you should setup IIS to use ASP.NET v1.1 and not ASP.NET v2.0
May be you have installed .NET framework 1.1 as well as 2.0 in your box and trying to run an application via VS.NET 2003. If so, then do the following:
Step 1: Start >> Run >> inetmgr
Step 2: Navigate to the virtual directory of the project which is throwing this error.
Step 3: Right click on the virtual directory and choose "Properties"
Step 4: Choose the tab ASP.NET
Step 5: The first dropdown would read "ASP.NET Version", choose 1.1.4322
Solution 4 :
1. go to the C:\WINNT\Microsoft.NET\Framework\
2. and run aspnet_regiis.exe /i
That's it. Hope this helps.
Cause: Either debug is not enabled in your web.config (OR) For some reasons IIS is not considering your web application as a virtual directory. Instead it is considering it to be a normal folder.
Solution 1:
Step 1: Open the web.config
Step 2: If debug is set to "false" change it to "True".
For example: In web.config I have a line like this
If at all this doesn't work. Try out the next solution.
Solution 2:
1.From the Start menu, choose Programs, then Administrative Tools, and click Internet Information Services.
2.In the Internet Information Services dialog box, click the tree control for your machine, open the Web Sites folder, and find your web site.
3.Right-click Web Site and choose Properties.
4.In the Web Site Properties window, select the Directory tab.
5.Under Application Settings, look for the Remove or Create button. If the button says Remove, your website is already configured as an application. If the button says Create, click the button to configure your website as an application.
6.Click OK.
If it also doesn't work, try the next solution.
Solution 3:
If you are running Visual Studio 2003 (or ASP.NET v1.1) you should setup IIS to use ASP.NET v1.1 and not ASP.NET v2.0
May be you have installed .NET framework 1.1 as well as 2.0 in your box and trying to run an application via VS.NET 2003. If so, then do the following:
Step 1: Start >> Run >> inetmgr
Step 2: Navigate to the virtual directory of the project which is throwing this error.
Step 3: Right click on the virtual directory and choose "Properties"
Step 4: Choose the tab ASP.NET
Step 5: The first dropdown would read "ASP.NET Version", choose 1.1.4322
Solution 4 :
1. go to the C:\WINNT\Microsoft.NET\Framework\
2. and run aspnet_regiis.exe /i
That's it. Hope this helps.
Labels:
.Net framework,
C#,
visual studio 2008
Error message when you connect to an instance of SQL Server: "Cannot open user default database"
Solution : 1
1- Go to database server -> security->login->username
2- Go to user property page and assign respective database or go to user role tab and give sysadmin permission to the user.
Solution-2
refer - http://support.microsoft.com/?id=307864
1- Go to database server -> security->login->username
2- Go to user property page and assign respective database or go to user role tab and give sysadmin permission to the user.
Solution-2
refer - http://support.microsoft.com/?id=307864
Labels:
ms sql server 2005
Thursday, July 9, 2009
Can Google Chrome OS ceates problem for Microsoft OS: What do you think ?
NEW YORK (Fortune) -- It's highly unlikely that the operating system Google announced yesterday -- dubbed Google Chrome OS -- will rocket to the heights of its chief competitor, Microsoft, right away. But it doesn't really matter. In a world obsessed with all things Google, the new OS will certainly get its fair share of attention, and the frontal assault on Microsoft that it represents will serve at least as a great distraction to the tech behemoth.
We only know a few details about Google's plans for the operating system, which won't actually launch until the fall of 2010. It will target netbooks initially and then expand to the larger PC market. It will combine the Google Chrome browser with a Linux kernel. Though there's some overlap with Android, the company's operating system for mobile devices, this system is intended for computers. And it will be fast, accessible, efficient, and -- though Google (GOOG, Fortune 500) hasn't said as much -- it's likely the operating system will be free.
Google's announcement is riddled with subtle jabs at its Seattle rival, even going so far as calling the Chrome OS necessary because "the operating systems that browsers run on were designed in an era where there was no web."
But there's a lot to suggest Google won't be able to pull this off. The company's only breakthrough success has come with the AdWords and AdSense products related to its core business -- search. While Google's launched plenty of products over the years, it's sometimes hard to tell immediately whether they're designed to dominate a field or entertain technologists.
And many of those products have not risen to prominence. Google Apps just came out of beta this week, but it's hardly affected Microsoft Office's dominance in productivity. Google product search -- you may remember it as Froogle -- was a flop. Google Checkout hasn't overtaken PayPal, and Knol was far from a Wikipedia-killer. Does anyone even remember Orkut, an early contender for the market Facebook has captured? And the list goes on.
Still, Google's announcement should worry Microsoft (MSFT, Fortune 500). It's the biggest threat yet to the tech giant's crown jewels, and it's more evidence of the growing agitation in the tech industry: Google joins a number of other large tech companies that have quietly begun work on their own operating systems. (Intel (INTC, Fortune 500), for example, recently announced Moblin, a Linux-based operating system for netbooks.)
Microsoft has yet to publicly react to Google's announcement of the Chrome OS, which will debut at the same time as the much-anticipated new version of Microsoft's own operating system, Microsoft Windows 7, this fall. Early reviews of Windows 7 have been promising, but Microsoft faces a significant hurdle with the poor reception of its last offering, Vista. Now, it will also have to launch in the shadow of a new competitor that -- while it doesn't even exist yet -- has already begun to steal the show.
We only know a few details about Google's plans for the operating system, which won't actually launch until the fall of 2010. It will target netbooks initially and then expand to the larger PC market. It will combine the Google Chrome browser with a Linux kernel. Though there's some overlap with Android, the company's operating system for mobile devices, this system is intended for computers. And it will be fast, accessible, efficient, and -- though Google (GOOG, Fortune 500) hasn't said as much -- it's likely the operating system will be free.
Google's announcement is riddled with subtle jabs at its Seattle rival, even going so far as calling the Chrome OS necessary because "the operating systems that browsers run on were designed in an era where there was no web."
But there's a lot to suggest Google won't be able to pull this off. The company's only breakthrough success has come with the AdWords and AdSense products related to its core business -- search. While Google's launched plenty of products over the years, it's sometimes hard to tell immediately whether they're designed to dominate a field or entertain technologists.
And many of those products have not risen to prominence. Google Apps just came out of beta this week, but it's hardly affected Microsoft Office's dominance in productivity. Google product search -- you may remember it as Froogle -- was a flop. Google Checkout hasn't overtaken PayPal, and Knol was far from a Wikipedia-killer. Does anyone even remember Orkut, an early contender for the market Facebook has captured? And the list goes on.
Still, Google's announcement should worry Microsoft (MSFT, Fortune 500). It's the biggest threat yet to the tech giant's crown jewels, and it's more evidence of the growing agitation in the tech industry: Google joins a number of other large tech companies that have quietly begun work on their own operating systems. (Intel (INTC, Fortune 500), for example, recently announced Moblin, a Linux-based operating system for netbooks.)
Microsoft has yet to publicly react to Google's announcement of the Chrome OS, which will debut at the same time as the much-anticipated new version of Microsoft's own operating system, Microsoft Windows 7, this fall. Early reviews of Windows 7 have been promising, but Microsoft faces a significant hurdle with the poor reception of its last offering, Vista. Now, it will also have to launch in the shadow of a new competitor that -- while it doesn't even exist yet -- has already begun to steal the show.
Labels:
Google Chrome,
Microsoft killer,
Operating System
Sunday, July 5, 2009
AJAX Control Toolkit: Active Tab Changed Event in Tab control is not working
By default, when we use the OnActiveTabChanged event in Tab control in AJAX control toolkit it will not call the server side event we need to set the AutoPostBack property to true.
Solution: AutoPostBack="true" in TabContainer Control.
Solution: AutoPostBack="true" in TabContainer Control.
Labels:
AjaxToolKit
Tuesday, June 30, 2009
Problem to open .CHM file
Open Windows Explorer, right-click on the CHM file, and select Properties from the popup menu. Click on the Unblock button immediately below the Advanced button on the General page. Click Apply to show the content.
Hope this helps.
Hope this helps.
Labels:
HTML files
Login failed for user [user name]. Reason: Server is in single user mode. Only one administrator can connect at this time
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.Data.SqlClient.SqlException: Login failed for user [user name]. Reason: Server is in single user mode. Only one administrator can connect at this time.
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.
Solution : visit http://www.interviewsworld.com
Exception Details: System.Data.SqlClient.SqlException: Login failed for user [user name]. Reason: Server is in single user mode. Only one administrator can connect at this time.
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.
Solution : visit http://www.interviewsworld.com
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
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.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
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.
Solution: viewview Solution
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.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
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.
Solution: viewview Solution
Labels:
.net,
.Net framework,
asp.net 3.5,
C#,
visual studio 2008
Cannot create/shadow copy [Project File Name] when that file already exists.
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.IO.FileLoadException: Cannot create/shadow copy 'Test.UI' when that file already exists.
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.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Test.UI' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution : visit View Solution
Exception Details: System.IO.FileLoadException: Cannot create/shadow copy 'Test.UI' when that file already exists.
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.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Test.UI' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution : visit View Solution
Labels:
.net,
asp.net,
C#,
visual studio 2008
Monday, June 15, 2009
Changing the default browser used in VS 2008 and Visual Web Developer
I have seen a few people ask if it is possible to change what browser is launched and used when running web applications in VS 2008 and Visual Web Developer (for example:Chrome, Firefox instead of IE). It is an easy way to configure this.
Below is steps:
1) Right click on a .aspx page in your solution explorer
2) Select the "browse with" context menu option
3) In the dialog you can select or add a browser. If you want Firefox in the list, click "add" and point to the firefox.exe filename
4) Click the "Set as Default" button to make this the default browser when you run any page on the site.
Note that there is also an optional drop-down at the bottom of the dialog that lets you select the default browser window size when loading. You can choose 800x600 or 1024x768 if you want to visualize what the site will look like for people using those screen resolutions. This works for both IE and FireFox (and probably other browsers too -- those just happened to be the two I checked).
Hope this helps,
www.interviewsworld.com
Below is steps:
1) Right click on a .aspx page in your solution explorer
2) Select the "browse with" context menu option
3) In the dialog you can select or add a browser. If you want Firefox in the list, click "add" and point to the firefox.exe filename
4) Click the "Set as Default" button to make this the default browser when you run any page on the site.
Note that there is also an optional drop-down at the bottom of the dialog that lets you select the default browser window size when loading. You can choose 800x600 or 1024x768 if you want to visualize what the site will look like for people using those screen resolutions. This works for both IE and FireFox (and probably other browsers too -- those just happened to be the two I checked).
Hope this helps,
www.interviewsworld.com
Labels:
.net 3.5,
visual studio 2008
Subscribe to:
Posts (Atom)