YAFLogo

madhav
  • madhav
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
5 years ago
I have Installed Forum module and placed it on a page ,after placing module on page iam getting below error.so please help me how can i resolve this error.

--------------

Forum Error

Error Unable to connect to the Database. Exception Message: 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) (-1)

Please contact the administrator if this message persists.

Note If you are the administrator, and need help with this problem, then Turn off CustomErrors in your web.config.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
5 years ago

I have Installed Forum module and placed it on a page ,after placing module on page iam getting below error.so please help me how can i resolve this error.

--------------

Forum Error

Error Unable to connect to the Database. Exception Message: 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) (-1)

Please contact the administrator if this message persists.

Note If you are the administrator, and need help with this problem, then Turn off CustomErrors in your web.config.

Originally Posted by: madhav 

Did you select the correct connection string?

madhav
  • madhav
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
5 years ago
I have modified connection string in web.conf file ..now it's working fine.

Thanks for your information.