Server Error in '/Links' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred while parsing EntityName. Line 4, position 97.
Source Error:
Line 2: <configuration>
Line 3: <appSettings>
Line 4: <add key="ConnectionString" value="server=(local);database=NewVerison;uid=sa;pwd=KJYY(^^&^^%^%0052XX" />
Line 5: </appSettings>
Line 6: <system.web>
同样的代码,同样的配置,我在本地就好好的。为什么到服务器上就不行了捏?
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred while parsing EntityName. Line 4, position 97.
Source Error:
Line 2: <configuration>
Line 3: <appSettings>
Line 4: <add key="ConnectionString" value="server=(local);database=NewVerison;uid=sa;pwd=KJYY(^^&^^%^%0052XX" />
Line 5: </appSettings>
Line 6: <system.web>
同样的代码,同样的配置,我在本地就好好的。为什么到服务器上就不行了捏?
如果数据库和空间不在一台电脑上.就不能用local.
而用IP.类似:192.168.1.1,1433
后面是端口.