泞的组词是什么:Server.CreateObject 失败 asp 请求帮助

来源:百度文库 编辑:神马品牌网 时间:2024/05/03 07:37:47
dim imgobj,imgwidth,imgheight,cimgw,cimgh,filesmallname,xjcs,pscs
xjcs=""
pscs=""
if icount=1 then

if photoxjcs=1 then
pscs=""
xjcs=""
dim objj,zgqii
zgqii=1
file1=UpFilePath&thispath&"."&fileext
set Objj = server.createobject("dazhounet.exifinfo")
Objj.filename = server.mappath(file1)
If Objj.IsExif = "True" Then
If Objj.CameraMake <> "" then xjcs=Objj.CameraMake
If Objj.CameraModel <>"" then xjcs=xjcs&"   "&Objj.CameraModel
If Objj.DateTime <>"" then
if zgqii mod 4=0 then
pscs=pscs&"<br>"
end if
dim width11,height11
width11=Jpeg.Width
height11=Jpeg.Height
if photosoff=1 then
if photos>0 thendim imgobj,imgwidth,imgheight,cimgw,cimgh,filesmallname,xjcs,pscs
xjcs=""
pscs=""
if icount=1 then

if photoxjcs=1 then
pscs=""
xjcs=""
dim objj,zgqii
zgqii=1
file1=UpFilePath&thispath&"."&fileext
set Objj = server.createobject("dazhounet.exifinfo")
Objj.filename = server.mappath(file1)
If Objj.IsExif = "True" Then
If Objj.CameraMake <> "" then xjcs=Objj.CameraMake
If Objj.CameraModel <>"" then xjcs=xjcs&"   "&Objj.CameraModel
If Objj.DateTime <>"" then
if zgqii mod 4=0 then
pscs=pscs&"<br>"
end if
zgqii=zgqii+1
pscs=pscs&"拍摄时间:"&Objj.DateTime
end if
if Objj.Xdpi <>"" then
if zgqii mod 4=0 then
pscs=pscs&"<br>"
end if
zgqii=zgqii+1
pscs=pscs&"   水平分辨率:"&Objj.Xdpi
end if

set Objj = server.createobject("dazhounet.exifinfo")
问题应该出在这里
你使用的组件应该先用regsvr32注册一下

首先你的end if 和 if都没有配对,另外UpFilePath,thispath和fileext具体是什么也不知道。怎么知道对象创建失败的原因呢。