hi friends,
when i am trying to browse my ASP.NET website through IIS it is showing error regarding authentication.
please verify the attachment of the error...
thanks in advance..
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Vithal WadjeRank #19 · 47.2K reputationPosted Nov 28, 2012, 10:17 PM EST
Chiranjeevi Aripaka105 reputationPosted Nov 29, 2012, 11:05 PM EST
my asp.net page is running fine in IIS but when i tried to connect to mdf. file it is chowing error ..
CREATE DATABASE permission denied in database 'master'.
then I changed the path of my mdf file likeAn attempt to attach an auto-named database for file C:\inetpub\wwwroot\modified student\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf
to
datasource=C:\inetpub\wwwroot\modified student\App_Data\Database.mdf;
and now it showing error
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Vithal WadjeRank #19 · 47.2K reputationPosted Nov 30, 2012, 6:28 PM EST
you need to attach the database to sql server by right cliking on
Database.mdf file and spefiy the connection