Not able to run the .exe file created from c#

前端 未结 2 1485
Happy的楠姐
Happy的楠姐 2021-01-28 14:36

I have created a Windows form application using C# in visual studio 2010 connecting the database in SQL server . After all my development is done i copy the exe file generated i

2条回答
  •  耶瑟儿~
    2021-01-28 14:38

    Perhaps you have some referenced assemblies that you did not copy along with the application itself.

    OR, the connection string is not valid when run from that other machine (if you worked with a local SQL db, or on a network or whatever and it's not accesible on that other machine)

    OR, you don't have rights to run it on that other machine.

提交回复
热议问题