这个错误指的是什么,如何修正?

时间:2022-11-07 19:17:15

i got this error when i publish website in remote location , its accrues while using pages which contain - autocomplete user control - export report to pdf , show report in report viewer

当我在远程发布网站时,我得到了这个错误,当我使用包含-自动完成用户控制-导出报告到pdf,显示报告在报告查看器

这个错误指的是什么,如何修正?

2 个解决方案

#1


0  

That usually shows if you install IIS after the .NET. You need to run aspnet_regiis.exe with the -i option/switch.

通常情况下,如果您在. net之后安装IIS。您需要运行aspnet_regiis。带-i选项/开关的exe。

For more information, visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfaspnetiisregistrationtoolaspnet_regiisexe.asp.

要了解更多信息,请访问http://msdn.microsoft.com/library/default.asp?

Start > Search > All files and folders > Type aspnet_regiis.exe into search box, and search it under your Windows file (C:\WINDOWS); I found it at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215.

启动>搜索>所有文件和文件夹>类型的aspnet_regiis。exe进入搜索框,并在Windows文件(C:\ Windows)下搜索;我发现在C:\WINDOWS\ Microsoft.NET \ Framework \ v2.0.50215。

Go to DOS command line, change to above directory then execute aspnet_regiis.exe -i.

转到DOS命令行,更改为上面的目录,然后执行aspnet_regiis。exe - i。

You might need to restart IIS service or your computer.

您可能需要重新启动IIS服务或您的计算机。

#2


0  

after writing export to pdf code in crystal report, i didn't write

在写完crystal report的导出到pdf代码后,我没有写

     Response.End(); line

so other requests raise xml parsing error because first pdf export request not closed.

因此,其他请求会导致xml解析错误,因为第一个pdf导出请求没有关闭。

#1


0  

That usually shows if you install IIS after the .NET. You need to run aspnet_regiis.exe with the -i option/switch.

通常情况下,如果您在. net之后安装IIS。您需要运行aspnet_regiis。带-i选项/开关的exe。

For more information, visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfaspnetiisregistrationtoolaspnet_regiisexe.asp.

要了解更多信息,请访问http://msdn.microsoft.com/library/default.asp?

Start > Search > All files and folders > Type aspnet_regiis.exe into search box, and search it under your Windows file (C:\WINDOWS); I found it at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215.

启动>搜索>所有文件和文件夹>类型的aspnet_regiis。exe进入搜索框,并在Windows文件(C:\ Windows)下搜索;我发现在C:\WINDOWS\ Microsoft.NET \ Framework \ v2.0.50215。

Go to DOS command line, change to above directory then execute aspnet_regiis.exe -i.

转到DOS命令行,更改为上面的目录,然后执行aspnet_regiis。exe - i。

You might need to restart IIS service or your computer.

您可能需要重新启动IIS服务或您的计算机。

#2


0  

after writing export to pdf code in crystal report, i didn't write

在写完crystal report的导出到pdf代码后,我没有写

     Response.End(); line

so other requests raise xml parsing error because first pdf export request not closed.

因此,其他请求会导致xml解析错误,因为第一个pdf导出请求没有关闭。