Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. Application: MoveCloudFiles.exe
  2. Framework Version: v4.0.30319
  3. Description: The process was terminated due to an unhandled exception.
  4. Exception Info: System.Configuration.ConfigurationErrorsException
  5. at System.Configuration.BaseConfigurationRecord.EvaluateOne(System.String[], System.Configuration.SectionInput, Boolean, System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object)
  6. at System.Configuration.BaseConfigurationRecord.Evaluate(System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
  7. at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
  8. at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
  9. at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
  10. at System.Configuration.BaseConfigurationRecord.GetSection(System.String)
  11. at System.Configuration.ConfigurationManager.GetSection(System.String)
  12. at System.Configuration.ConfigurationManager.get_ConnectionStrings()
  13. at MoveCloudFiles.Form1..ctor()
  14.  
  15. Exception Info: System.InvalidOperationException
  16. at MoveCloudFiles.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
  17. at MoveCloudFiles.My.MyProject+MyForms.get_Form1()
  18. at MoveCloudFiles.My.MyApplication.OnCreateMainForm()
  19. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
  20. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
  21. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
  22. at MoveCloudFiles.My.MyApplication.Main(System.String[])
  23.  
  24. <connectionStrings>
  25. <add name="PHConn" providerName="System.Data.SqlClient" connectionString="Data Source=DEVSQL;Initial Catalog=Policyholder;Integrated Security=SSPI"/>
  26. </connectionStrings>
  27.  
  28. Dim oConnPH As New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("PHConn").ToString)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement