pb12.5 webservice 提示发布成功,但IIS文件并没有更新

张好人 2020-02-21 12:49:20

D:\webservice\pb2cstempout\webservice>if "" == "" set NET_FRAMEWORK_PB125=C:\Windows\Microsoft.NET\Framework\v4.0.30319

D:\webservice\pb2cstempout\webservice>C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc
Microsoft (R) Visual C# Compiler version 4.6.1067.0

for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.



This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

warning CS2008: No source files specified
error CS1562: Outputs without source must have the /out option specified

D:\webservice\pb2cstempout\webservice>if errorlevel 9009 exit 3

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.asmx" del "D:\webservice\pb2cstempout\webservice\*.asmx"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.html" del "D:\webservice\pb2cstempout\webservice\*.html"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.css" del "D:\webservice\pb2cstempout\webservice\*.css"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.cs" del "D:\webservice\pb2cstempout\webservice\*.cs"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.aspx" del "D:\webservice\pb2cstempout\webservice\*.aspx"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.htm" del "D:\webservice\pb2cstempout\webservice\*.htm"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.js" del "D:\webservice\pb2cstempout\webservice\*.js"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.resx" del "D:\webservice\pb2cstempout\webservice\*.resx"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\*.asax" del "D:\webservice\pb2cstempout\webservice\*.asax"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\build.bat" del "D:\webservice\pb2cstempout\webservice\build.bat"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\web.config" del "D:\webservice\pb2cstempout\webservice\web.config"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\bin" rd /s /q "D:\webservice\pb2cstempout\webservice\bin"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\images" rd /s /q "D:\webservice\pb2cstempout\webservice\images"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\scripts" rd /s /q "D:\webservice\pb2cstempout\webservice\scripts"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\temp" rd /s /q "D:\webservice\pb2cstempout\webservice\temp"

D:\webservice\pb2cstempout\webservice>if exist "D:\webservice\pb2cstempout\webservice\..\webservice_root" rd /s /q "D:\webservice\pb2cstempout\webservice\..\webservice_root"

D:\webservice\pb2cstempout\webservice>rename "D:\webservice\pb2cstempout\webservice\AssemblyInfo.bak" "AssemblyInfo.cs"

D:\webservice\pb2cstempout\webservice>"C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\pb2cs" @"D:\webservice\pb2cstempout\projectinfo.txt"
Type-checking (pass 1) system (system)
Pre-parsing takes 0.00 seconds
Parsing d:\webservice\webservice.pbl (n_webservice)
Parsing d:\webservice\webservice.pbl (webservice)
Parsing d:\webservice\webservice.pbl (uf_getdate)
Parsing d:\webservice\webservice.pbl (n_dll_binary)
Parsing takes 0.00 seconds
Type-checking (pass 1) d:\webservice\webservice.pbl (n_dll_binary)
Type-checking (pass 1) d:\webservice\webservice.pbl (n_webservice)
Type-checking (pass 1) d:\webservice\webservice.pbl (uf_getdate)
Type-checking (pass 1) d:\webservice\webservice.pbl (webservice)
Type-checking (pass 1) d:\webservice\webservice.pbl (n_dll_binary)
Type-checking (pass 1) d:\webservice\webservice.pbl (n_webservice)
Type-checking (pass 1) d:\webservice\webservice.pbl (uf_getdate)
Type-checking (pass 1) d:\webservice\webservice.pbl (webservice)
Type-checking (pass 1) d:\webservice\webservice.pbl (n_dll_binary)
Type-checking (pass 1) d:\webservice\webservice.pbl (n_webservice)
Type-checking (pass 1) d:\webservice\webservice.pbl (uf_getdate)
Type-checking (pass 1) d:\webservice\webservice.pbl (webservice)
Type-checking prototypes/instance variables(pass 2)
Type-checking prototypes/instance variables(pass 2)
Type-checking prototypes/instance variables(pass 2)
Type-checking prototypes/instance variables(pass 2)
Type-checking methods(pass 2) d:\webservice\webservice.pbl (n_dll_binary)
Type-checking methods(pass 2) d:\webservice\webservice.pbl (n_webservice)
Type-checking methods(pass 2) d:\webservice\webservice.pbl (uf_getdate)
Type-checking methods(pass 2) d:\webservice\webservice.pbl (webservice)
Typechecking takes 0.00 seconds
Emitting d:\webservice\webservice.pbl (webservice)
Emitting d:\webservice\webservice.pbl (n_webservice)
Emitting d:\webservice\webservice.pbl (webservice)
Emitting d:\webservice\webservice.pbl (uf_getdate)
Emitting d:\webservice\webservice.pbl (n_dll_binary)
Emitting d:\webservice\webservice.pbl (webservice)
Emitting d:\webservice\webservice.pbl (n_webservice)
Emitting d:\webservice\webservice.pbl (webservice)
Emitting d:\webservice\webservice.pbl (uf_getdate)
Emitting d:\webservice\webservice.pbl (n_dll_binary)
Emiting takes 0.00 seconds


Error Summary : 0 error(s)



Warning Summary : 0 warning(s)



Compile complete -- 0 error(s), 0 warning(s)


D:\webservice\pb2cstempout\webservice>if ERRORLEVEL 1 exit 1

D:\webservice\pb2cstempout\webservice>call build.bat c- "D:\webservice\pb2cstempout\csc_output_file_name.txt"

D:\webservice\pb2cstempout\webservice>rem setlocal

D:\webservice\pb2cstempout\webservice>if "c-" == "" goto usage

D:\webservice\pb2cstempout\webservice>if "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET" == "" goto sethome

D:\webservice\pb2cstempout\webservice>if "" == "" set PB_WEBROOT=C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot

D:\webservice\pb2cstempout\webservice>set NET_FRAMEWORK_PB125=C:\Windows\Microsoft.NET\Framework\v4.0.30319

D:\webservice\pb2cstempout\webservice>md bin

D:\webservice\pb2cstempout\webservice>set PBROOTDIR="..\webservice_root"

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\mail\users

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\mail\session

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\print\users

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\print\session

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\log

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\file\icon

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\file\users

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\file\session

D:\webservice\pb2cstempout\webservice>set PB_WEBFILEC="..\webservice_root"\file\common\c

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\file\common\c\temp

D:\webservice\pb2cstempout\webservice>set PB_WEBLIBDIR="..\webservice_root"\file\common\c\~pl_

D:\webservice\pb2cstempout\webservice>md "..\webservice_root"\file\common\c\~pl_

D:\webservice\pb2cstempout\webservice>net user ASPNET
'net' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
ASPNET [IIS 5] was not found.

D:\webservice\pb2cstempout\webservice>goto groupstep_iis6

D:\webservice\pb2cstempout\webservice>net localgroup IIS_WPG
'net' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
IIS_WPG [IIS 6] was not found.

D:\webservice\pb2cstempout\webservice>goto groupstep_iis7

D:\webservice\pb2cstempout\webservice>net localgroup IIS_IUSRS
'net' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
IIS_IUSRS [IIS 7] was not found.

D:\webservice\pb2cstempout\webservice>goto copystep

D:\webservice\pb2cstempout\webservice>if "c-" == "c-" goto notcopy

D:\webservice\pb2cstempout\webservice>xcopy /D /Y "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot\global.asax" .
'xcopy' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\webservice\pb2cstempout\webservice>xcopy /D /Y "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot\global.asax.cs" .
'xcopy' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\webservice\pb2cstempout\webservice>xcopy /D /Y "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot\global.asax.resx" .
'xcopy' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\webservice\pb2cstempout\webservice>REM xcopy /D /Y /E "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot\images\*.*" images\

D:\webservice\pb2cstempout\webservice>REM xcopy /D /Y /E "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\webroot\scripts\*.*" scripts\

D:\webservice\pb2cstempout\webservice>xcopy /D /Y "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.System.pbd" "..\webservice_root"\file\common\c\~pl_\
'xcopy' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\webservice\pb2cstempout\webservice>reg import "C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\PBExceptionTrace.reg"
'reg' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\webservice\pb2cstempout\webservice>if "D:\webservice\pb2cstempout\csc_output_file_name.txt" == "" (C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc /t:library /optimize+ /platform:x86 "/r:C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.Core.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.Interop.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.Common.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.Web.WebService.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\Sybase.PowerBuilder.WinWebDataWindowCommon.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin\com.sybase.ejb.net.dll;C:\Program Files\Sybase\PowerBuilder 12.5\DotNET\bin
...全文
171 1 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
WMERP 2020-02-21
  • 打赏
  • 举报
回复
你是直接deploy到IIS的吧,如果之前是deploy安装包并且安装过的话要先在程序里面卸载了再发布,不然就不会更新的
发帖
Web 应用

658

社区成员

PowerBuilder Web 应用
社区管理员
  • Web 应用社区
加入社区
帖子事件
创建了帖子
2020-02-21 12:49
社区公告
暂无公告