1
Answer

Multiple instance of application startup form.

ratn_patil

ratn_patil

20y
2.8k
1
Application Tools :Pocket PC 2003 , WINCE.NET , .NET CF , VC# My startup form has 6 buttons ..each allowing user to jump to next screen. Also every other screen returns to startup screen. When I execute the application & navigate thru. Every time i see a new instance of my startup form created at background. i.e, when i leave my startup screen that particular instance doen't get closed/disposed. My project requirements doesn't allow me to do FindWindow and DestroyWindow. Could anyone suggest me why it is happenning and how to control it. Thanks, Ratna
Answers (1)
1
Amit Gupta

Amit Gupta

NA 16.5k 25.7k 8y
Hey Devendra
There might be any software glitches, take the backup of your database from the physical path located at
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
 
then reinstall the Sql Server again, then try attaching all your database.
 
Hope this helps :) 
Accepted
2
Daniel Jones

Daniel Jones

NA 367 19.7k 8y
Go to > Security > Logins > Right click to the user > Properties
On the left navigation move to > User Mapping > Check the database and in the "Database role membership for: <>" check "db_owner"
  
Or just restart the SQL service, sometime it also helps 
1
Devendra Kumar

Devendra Kumar

NA 264 11.9k 8y
@Rafnas, already tried, also restarted the service but :(
1
Devendra Kumar

Devendra Kumar

NA 264 11.9k 8y
Thanks Daniel, The error still exists as master/any database was also not accessible. Logins section displays only builtin\users and sa
0
Rafnas T P

Rafnas T P

NA 12.2k 435.7k 8y
try running in administrator mode, to do that
right click on SQL Server Management Studio and select run as administrator