iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
I'm using Web UI Studio 2009 R2 SP1 assembly version 7.0.7200.402. Our web app. has been running successfully on Windwos Server 2003 (IIS 5 I think) for years. Now we want to move the web app to Windows Server 2008 (64bit) running IIS 7.5. We are using ASP.Net 4 on both servers.So I simply copied all the web app folders from the old server to the new server. After some minor adjustments in web.config, my app started on the new server but it does not show any WebDialogs as expected. I get such an error (IP address replaced by xxx):Message: Object expectedLine: 22Char: 1Code: 0URI: http://xx.xxx.xx.xxx/C2NetDesktop/WPages/AccessSystem/C2NetLogin.aspx?ReturnUrl=%2fC2NetDesktopWhen I view the code the lines are:
<script language="javascript" type="text/javascript">
After reading this post:http://intersoftpt.wordpress.com/2009/08/10/using-webui-studio-2009-in-windows-x64-and-iis-7/I ran the application as recommended. However when I pressed the button a waring popped up saying:"Applicatoin attemted to perform an operatoin not allowed by the security policy. To grant this application the requiired permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
If you click Continue, the appkication will ignore this error and attempt to continue. If you click Quiit, the application will close immediatley.
Requested registry access is not allowed."So I pressed "Continue" as I'was logged in as a system administrator. However how can I be sure that the registry has been updated successfully?Or is my problem originating from a different source?
Hello,
Please let us know if this 64 bit is your development or deployment machine.If it is deployment, you won't need to install any of Intersoft product in server.Based on your error, it seems your were missing our WebUIFramework (ISNet.dll,ISNet.WebUI,dll, and ISNet.WebUI.Resources.dll).To resolve this issue, I suggest you do the following steps.1.Remove all references or assemblies in your project bin folder.2.After removed them, please readd them again.3.Use RegisterSmartWebResources. (This must be done in development machine. Right click Intersoft control at design mode and choose RegisterSmartWebResources).5. If it is deployed in IIS7, please copy all http handler into system.webserver in web.config.
Regards,Handy
The blog’s article, http://intersoftpt.wordpress.com/2009/08/10/using-webui-studio-2009-in-windows-x64-and-iis-7/, provides solution for issue that happen if you are using 64-bit version of MS Windows operating system for development.
I’m afraid that the provided solution is not suitable for your specific scenario. Assumed that you are moving the web app on a new production server means that this scenario deals with deployment issue.
Since it is reported that WebDialogBox doesn't show on the new production server, I would like to suggest you to check/debug on the window_onload() JavaScript function. Currently, I suspect that the dlgBox variable that stores the WebDialogObject doesn’t obtain the proper object of the corresponding WebDialogBox (or even null).
Please kindly let us know if you have different result.
Well actualy I found out what was missing the CommonLibrary containg the IS scripts was missing. I added that and then the WebDialog popped up. However when I reach the main page containing a lot of WebCombos and a WebGrid, The web combos display '6' instead of the arrow at right side and web-grids display 'red x' where icons should be. There are lot of such errors:
Message: 'IS' is undefinedLine: 1263Char: 1Code: 0URI: http://xx.xxx.xx.xxx/C2NetDesktop/WPages/Profiler/Profiler.aspx
refering to code lines like: if (typeof(IS.RegisterBoxSizing) != 'function').....
By some reason after adding this handler to the system.webserver in web.config, everythign seems to be working properly:
<handlers>
<add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>
</handlers>
All the http handlers should be placed inside system.webserver. This setting is required in IIS7.
Unfortunately I did a mistake when testing using a wrong URL (actualy pointing to our old deployment server). The problem still persists the same on the new server. I have SamrtResources registered and all the .Resources.dll files installed. I have also tried to exclude ISRes.axd from the authentication paths as mentioned here.However as you mention that all the handlers shold be placed inside system.webserver for IIS7. The above mentioned is the only one I found in web.config on my development machine. So I copied it into the web.config on my 64 bit IIS7 release server. Should there be more of those?One thing I noticed in my last tests that among the errors is this: 'WGUI' is undefinedProbably refering to that it can't find some resources as all icons in the web-grid ars shown as 'red X' and the arrow in the WebCombo shown as '6'.What on earth could be causing this?
That should be not happening. Can you send me a simple working project that replicates this issue?I will try to see what's wrong in here.Is you project a WebApplication project? If yes, please ensure that Copy local property of each assemblies is set as true (click a assembly in references folder and press f4).
I am glad that you resolved your previous error. Regarding your current issue, Can you send me your web.config? There should be no problem when running authentication. Our product mostly has been used inside authentication scenario by our customer. Perhaps, you would need to clear the browser cache and asp.net Temporary files in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files.
Handy,Sorry for my late replay. I had somehow missed your reply. Becuse web.config holds all the keys etc, can I send it to you directly somehow via email to you. What email address should I use?PS: I tried to wipe out the temporary stuff as you suggested, but it did not help.
Please let me know your email address. I will contact you directly from there.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname