Jump to content

IIS 7 Deployment


Rem

Recommended Posts

I've created a basic form with one button on it.

IIS 7 has been configured as directed on your web page

including creating Cache and ext-3.3.0 folders ubder the root with the permissions you've decribed

copied the ext-3.3.0 subfolders in the correct locations

 

All I see is the 'loading page'..

 

The web page soiurce code shows that the folderes are all set correctly

 

There must be a simple thjing that i'm missing

 

This particular server is functioning with a complex intraweb app in another pool

 

Any suggestions or is there a functioning hello world dll demo that i could upload?

Link to comment
Share on other sites

I've created a basic form with one button on it.

IIS 7 has been configured as directed on your web page

including creating Cache and ext-3.3.0 folders ubder the root with the permissions you've decribed

copied the ext-3.3.0 subfolders in the correct locations

 

All I see is the 'loading page'..

 

The web page soiurce code shows that the folderes are all set correctly

 

There must be a simple thhing that i'm missing

 

This particular server is functioning with a complex intraweb app in another pool

 

Any suggestions or is there a functioning hello world dll demo that i could upload?

 

 

==============================================================================

 

line 25, character 1 : source error is 'Ext' id undefined

right here >>[ Ext.onReady(function()]

 

Where is the object Ext defined?

 

page source is here:

<!DOCTYPE html public>

<html>

<head>

<title>UniBasicDll</title>

<meta http-equiv="content-type" content="charset=utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=8" />

<meta http-equiv="cache-control" content="no-cache" />

<meta http-equiv="pragma" content="no-cache" />

 

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/uni-ext.css" />

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/ext-all.css" />

<script src="/uni/unibasicdll1.dll/ext-3.3.0/adapter/ext/ext-base.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-sync-1.3.1-min.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-all.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/examples/ux/ux-all.js"></script>

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/xtheme-blue.css" />

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/examples/ux/css/ux-all.css" />

<style>body { background: #008000; }</style>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-unigui-1.3.1-min.js"></script>

 

</head>

<p></p>

<script>

_S_ID="_S_ID=UpK6Odck75C2sb5";

Ext.onReady(function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/uni/unibasicdll1.dll/ext-3.3.0/resources/images/default/s.gif";

TextMetrics=Ext.util.TextMetrics.createInstance(Ext.getBody());

function AjaxError(m, t){Ext.Msg.show({title:"Ajax Error",multiline: true,value:t,width:400,minWidth:200,msg:m,icon:Ext.Msg.ERROR,buttons:Ext.Msg.OK});};function AjaxSuccess(response){if(_aexc_(response))return;try{eval(response.responseText);}catch(err){AjaxError(err.message,response.responseText);}};function AjaxFailure(){AjaxError("Server unavailable, please try later");};Download=Ext.DomHelper.append(document.body,{tag:"iframe",cls:"x-hidden"}); O0=new Ext.Window({id:"O0_id",onEsc:function(){},layout:"anchor",closeAction:"close",maximizable:true,minimizable:true,title:"uni basic 1 dll",width:483,height:562});O0.nm="O0";_cdo_("MainForm");MainForm.ajxS=AjaxSuccess;MainForm.ajxF=AjaxFailure;O0.rootObj=true;MainForm.appRoot="/uni/unibasicdll1.dll/";_cdo_(null,O0,"window",MainForm); O10=new Ext.form.FormPanel({id:"O10_id",border:false,layout:"absolute",anchor:"100% 100%",baseCls:"x-window",bodyStyle: "background-color:#FF00FF"});O10.nm="O10";_cdo_(null,O10,"form",MainForm);O0.add(O10);O0.on("close",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=close&P="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("move",function(P0,P1,P2){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=move&This="+P0.nm+"&X="+P1+"&Y="+P2+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("resize",function(P0,P1,P2){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=resize&This="+P0.nm+"&Width="+P1+"&Height="+P2+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("activate",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=activate&This="+P0.nm+""+"&ci="+_gci_()+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("maximize",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=maximize&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("minimize",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=minimize&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("restore",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=restore&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});}); O20=new Ext.form.Label({id:"O20_id",width:393,height:13,x:48,y:40,text:"Welcome Back My Friend To the Main Form"});O20.nm="O20";_cdo_("UniLabel1",O20,null,MainForm);O10.add(O20);O0.show();O0.header.child("span", true).style.marginLeft="19px";O0.header.dom.style.background="url(/uni/unibasicdll1.dll/cache/UniBasicdll1/UpK6Odck75C2sb5/app_main_icon.png) no-repeat 0px 4px";});

</script>

<body>

<div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading Basic Uni Dll #1</div></div>

<div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body>

<link REL="SHORTCUT ICON" HREF="/uni/unibasicdll1.dll/cache/UniBasicdll1/UpK6Odck75C2sb5/favicon.ico"></html>

Link to comment
Share on other sites

If only loading message was appeared on the top-left of window,

it mean there are missing some of JavaScript and CSS files

 

You should try to verify ExtRoot property of ServerModule

 

I recommended to set its value to 'ext-x.y.z\',

and then copy an ExtJs (ext-3.3.0) into same folder of your application.

 

See also: http://www.unigui.com/doc/online_help/iis_7_0.htm

Link to comment
Share on other sites

==============================================================================

 

line 25, character 1 : source error is 'Ext' id undefined

right here >>[ Ext.onReady(function()]

 

Where is the object Ext defined?

 

page source is here:

<!DOCTYPE html public>

<html>

<head>

<title>UniBasicDll</title>

<meta http-equiv="content-type" content="charset=utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=8" />

<meta http-equiv="cache-control" content="no-cache" />

<meta http-equiv="pragma" content="no-cache" />

 

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/uni-ext.css" />

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/ext-all.css" />

<script src="/uni/unibasicdll1.dll/ext-3.3.0/adapter/ext/ext-base.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-sync-1.3.1-min.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-all.js"></script>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/examples/ux/ux-all.js"></script>

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/resources/css/xtheme-blue.css" />

<link rel=stylesheet href="/uni/unibasicdll1.dll/ext-3.3.0/examples/ux/css/ux-all.css" />

<style>body { background: #008000; }</style>

<script src="/uni/unibasicdll1.dll/ext-3.3.0/ext-unigui-1.3.1-min.js"></script>

 

</head>

<p></p>

<script>

_S_ID="_S_ID=UpK6Odck75C2sb5";

Ext.onReady(function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/uni/unibasicdll1.dll/ext-3.3.0/resources/images/default/s.gif";

TextMetrics=Ext.util.TextMetrics.createInstance(Ext.getBody());

function AjaxError(m, t){Ext.Msg.show({title:"Ajax Error",multiline: true,value:t,width:400,minWidth:200,msg:m,icon:Ext.Msg.ERROR,buttons:Ext.Msg.OK});};function AjaxSuccess(response){if(_aexc_(response))return;try{eval(response.responseText);}catch(err){AjaxError(err.message,response.responseText);}};function AjaxFailure(){AjaxError("Server unavailable, please try later");};Download=Ext.DomHelper.append(document.body,{tag:"iframe",cls:"x-hidden"}); O0=new Ext.Window({id:"O0_id",onEsc:function(){},layout:"anchor",closeAction:"close",maximizable:true,minimizable:true,title:"uni basic 1 dll",width:483,height:562});O0.nm="O0";_cdo_("MainForm");MainForm.ajxS=AjaxSuccess;MainForm.ajxF=AjaxFailure;O0.rootObj=true;MainForm.appRoot="/uni/unibasicdll1.dll/";_cdo_(null,O0,"window",MainForm); O10=new Ext.form.FormPanel({id:"O10_id",border:false,layout:"absolute",anchor:"100% 100%",baseCls:"x-window",bodyStyle: "background-color:#FF00FF"});O10.nm="O10";_cdo_(null,O10,"form",MainForm);O0.add(O10);O0.on("close",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=close&P="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("move",function(P0,P1,P2){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=move&This="+P0.nm+"&X="+P1+"&Y="+P2+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("resize",function(P0,P1,P2){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=resize&This="+P0.nm+"&Width="+P1+"&Height="+P2+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("activate",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=activate&This="+P0.nm+""+"&ci="+_gci_()+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("maximize",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=maximize&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("minimize",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=minimize&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});});O0.on("restore",function(P0){return Ext.Ajax.request({url:"/Uni/UniBasicdll1.dll/HandleEvent",params:"Ajax=1&Ajax=1&IsEvent=1&Obj=O0&Evt=restore&This="+P0.nm+""+_gv_(O10),success:AjaxSuccess,failure:AjaxFailure,obj:O0});}); O20=new Ext.form.Label({id:"O20_id",width:393,height:13,x:48,y:40,text:"Welcome Back My Friend To the Main Form"});O20.nm="O20";_cdo_("UniLabel1",O20,null,MainForm);O10.add(O20);O0.show();O0.header.child("span", true).style.marginLeft="19px";O0.header.dom.style.background="url(/uni/unibasicdll1.dll/cache/UniBasicdll1/UpK6Odck75C2sb5/app_main_icon.png) no-repeat 0px 4px";});

</script>

<body>

<div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading Basic Uni Dll #1</div></div>

<div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body>

<link REL="SHORTCUT ICON" HREF="/uni/unibasicdll1.dll/cache/UniBasicdll1/UpK6Odck75C2sb5/favicon.ico"></html>

Ext was defined in ext-base.js, that it mean "<script src="/uni/unibasicdll1.dll/ext-3.3.0/adapter/ext/ext-base.js"></script>" could not be loaded.

If all files were in the correct location, try to check IIS has permission to access this.

Link to comment
Share on other sites

Ext was defined in ext-base.js, that it mean "<script src="/uni/unibasicdll1.dll/ext-3.3.0/adapter/ext/ext-base.js"></script>" could not be loaded.

If all files were in the correct location, try to check IIS has permission to access this.

 

 

here's the iis path

servermodule ext root prperty is set to

 

ext-3.0.0\

 

 

website path for extJs is

C:\Inetpub\wwwroot\Uni\ext-3.3.0

 

I copied all Ext files and subfolderes from the fmssoft framework location

the app root is C:\Inetpub\wwwroot\Uni

 

I'll recheck everything again

Thanks for the quick response

Link to comment
Share on other sites

here's the iis path

servermodule ext root prperty is set to

 

ext-3.0.0\

 

 

website path for extJs is

C:\Inetpub\wwwroot\Uni\ext-3.3.0

 

I copied all Ext files and subfolderes from the fmssoft framework location

the app root is C:\Inetpub\wwwroot\Uni

 

I'll recheck everything again

Thanks for the quick response

ExtRoot should be "ext-x.y.z\" not "ext-3.0.0\".

You never change "x.y.z" to any number, just leave it to "ext-x.y.z\".

Link to comment
Share on other sites

ExtRoot should be "ext-x.y.z\" not "ext-3.0.0\".

You never change "x.y.z" to any number, just leave it to "ext-x.y.z\".

 

 

Thank you!! you answer worked

that property was initially set to [ext/]

 

should i have just left it as it was?

 

Now i can see what Uni can do.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...