Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 14, 2012 07:09 AM by sunilsoftec
Member
132 Points
75 Posts
May 12, 2012 09:53 AM|LINK
i am deploy the Website On Local IIS In Window 7 But It's Not Connect With Sqlserver 2008 its show the Error
Please. Help
Contributor
2948 Points
985 Posts
May 12, 2012 09:54 AM|LINK
what error are you get?
Star
11225 Points
1815 Posts
May 12, 2012 10:12 AM|LINK
sunilsoftec i am deploy the Website On Local IIS In Window 7 But It's Not Connect With Sqlserver 2008 its show the Error Please. Help
you need to check connection string in web.config file
<connectionStrings> <add name="ConnectionString" connectionString="Data Source=SqlServerAddress;Initial Catalog=Northwind;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings>
refer http://www.csharpaspnetarticles.com/2012/04/publish-deploy-website-application-iis7.html to now how to deploy
319 Points
105 Posts
May 12, 2012 12:52 PM|LINK
what is your error? first of all check your connection string, is databse base name, and cridential is right or not!!!
4289 Points
883 Posts
May 13, 2012 01:58 PM|LINK
Hi Sunil,
Always put your code inside Try, Catch blocks to identify the errors/exceptions. That will help you find exact issue and will make troubleshooting a lot easier.
May 14, 2012 06:19 AM|LINK
It is show
"Object reference not set to an instance of an object."
Coonection String
<add connectionString="Server=.\SQLExpress;Database=CRM;Integrated Security=true" name="CRMConnectionString" providerName="System.Data.SqlClient" />
May 14, 2012 07:09 AM|LINK
Thank You Sir
sunilsoftec
Member
132 Points
75 Posts
Asp.net Project Deploy Problem
May 12, 2012 09:53 AM|LINK
i am deploy the Website On Local IIS In Window 7 But It's Not Connect With Sqlserver 2008 its show the Error
Please. Help
SUNIL KUMAR SHARMA
Software Developer
tarunSaini
Contributor
2948 Points
985 Posts
Re: Asp.net Project Deploy Problem
May 12, 2012 09:54 AM|LINK
what error are you get?
amit.jain
Star
11225 Points
1815 Posts
Re: Asp.net Project Deploy Problem
May 12, 2012 10:12 AM|LINK
you need to check connection string in web.config file
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=SqlServerAddress;Initial Catalog=Northwind;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
refer http://www.csharpaspnetarticles.com/2012/04/publish-deploy-website-application-iis7.html to now how to deploy
amiT jaiN
ASP.NET C# VB Articles And Code Examples
jamshed alam
Member
319 Points
105 Posts
Re: Asp.net Project Deploy Problem
May 12, 2012 12:52 PM|LINK
what is your error? first of all check your connection string, is databse base name, and cridential is right or not!!!
Srikanth Kas...
Contributor
4289 Points
883 Posts
Re: Asp.net Project Deploy Problem
May 13, 2012 01:58 PM|LINK
Hi Sunil,
Always put your code inside Try, Catch blocks to identify the errors/exceptions. That will help you find exact issue and will make troubleshooting a lot easier.
Srikanth Kasturi
Please "Mark As Answer" if my post serves purpose.
sunilsoftec
Member
132 Points
75 Posts
Re: Asp.net Project Deploy Problem
May 14, 2012 06:19 AM|LINK
It is show
"Object reference not set to an instance of an object."
Coonection String
<add connectionString="Server=.\SQLExpress;Database=CRM;Integrated Security=true" name="CRMConnectionString" providerName="System.Data.SqlClient" />
SUNIL KUMAR SHARMA
Software Developer
sunilsoftec
Member
132 Points
75 Posts
Re: Asp.net Project Deploy Problem
May 14, 2012 07:09 AM|LINK
Thank You Sir
SUNIL KUMAR SHARMA
Software Developer