2020年

错误详情

SQL Server 复制需要有实际的服务器名称才能连接到服务器 不支持通过服务器别名、IP 地址或任何其他备用名称进行连接。请指定实际的服务器名称“xx”。 (Replication.Utilities)

解决办法

第一步:需通过ip地址 端口号可以连通发布服务器

第二步:
使用别名(虽然提示说不能使用别名但使用别名确实可以),只是别名必须是发布端的主机名称 不能是其它自定义名称。,如下图
sqlserver2008设置别名

第三步:
注意开启连接数据库服务器的 sqlbrowser服务。
开启sqlserver browser服务

The government work report said that no specific target for the annual economic growth rate was proposed, mainly because the global epidemic situation and the economic and trade situation are highly uncertain, and China's development is facing some unpredictable factors. In doing so, it is helpful to guide all parties to concentrate on "six stability" and "six guarantees". "Six Guarantees" is the focus of this year's "Six Stability" work. Keeping the bottom line of the "six guarantees" can stabilize the economic fundamentals; to promote stability and make progress through stability, we can lay a solid foundation for building a well-off society in an all-round way.
government work report

This year's deficit rate is planned to be set at more than 3.6%. The fiscal deficit scale will increase by 1 trillion yuan compared with last year. At the same time, 1 trillion yuan of special anti-epidemic bonds will be issued.

sqlserver创建发布分发服务器时提示目录无效的解决办法

错误详情:
SQL Server 无法将“xx”配置为分发服务器。

其他信息:
执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)

目标路径 D:MSSQLDATA 无效。无法列出目录内容。请指定有效的目标路径。
已将数据库上下文更改为 'master'。 (Microsoft SQL Server,错误: 14430)

有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=14430&LinkId=20476

尝试修改文件夹权限,未果。

解决方法:

打开sqlserver配置管理器,查看启动sqlserver的账户应该是NetWorkService修改成LocalSystem最高权限即可。
修改后,会自动重启sqlserver服务。具体操作见图

修改sqlserver服务启动账户

方法一

报错提示一般是多了个空格,将新加的配置多余空格删除即可。

方法二

若配置文件确实没问题,可能conf文件被记事本编辑过,保存成了含[BOM] 。所以才报错的。

解决办法
使用editplus 等其它非记事本 另存为 UTF-8 不含BOM 的文件就可以了。

nginx unknown directive

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。