Tridion Powertools Script Errors (2009) - tridion

Installed the Powertools on a dev '09 system - now I get the script error "Unable to set the value of property 'async' : object is null or undefined"
I'm thinking this is possibly because I'm using IE9 in compat mode which I don't believe is supported?
Thanks

The PowerTools ItemSelector (itemselector.asp) uses MSXML2 to make HTTP Connection. The GetXMLHTTPRequest does an async call using the XMLHTTP and seems like this is failing in your case.
I have IE 9 (ver: 9.0.8112) and the Powertools Item Selector is working in both normal and compatibility mode. The reason for this (I am assuming) that I have MXSML2 installed.
I used this link to check what MSXML version I have : http://www.bayes.co.uk/xml/utils/msxml_sniffer.htm
Output from my machine when I used the URL:
MSXML Installed
MSXML2 Installed
MSXML2 v2.6 Automation server can't create object
MSXML2 v3.0 Installed
MSXML2 v4.0 Installed
MSXML2 v5.0 Installed
MSXML2 v6.0 Installed
Mode Replace V3
If you check the MSXML version from your browser you should get the similar output. The key here is MSXML2.
In Addition to MXSML, the second one is your browser security. I have to make the below settings for ItemSelector to work, otherwise it just show an empty popup with no publications.
IE Local Intranet settings. IE Options --> Security --> Local Intranet --> Sites --> Advanced , then Add the CMS URL as local intranet.
Hope this helps.

Related

Site compatibility issue with default IE11 comes with Windows 10 - Hosted on Azure VM

We have a Dotnetnuke site hosted on Azure VM.
Azure VM details
Server : Windows Server 2012 R2
IIS: - 8
.Net Version – 4.6
Our Site(http://dev2-cms-molpower.eastus.cloudapp.azure.com/Admin/MOLPowerCMSLogin) is compatible with all standard browsers except IE11 that comes as default with Windows 10.
IE11 with Windows7 and Windows 8 are also working fine.
Problem we noticed with IE11/Windows 10 are :-
Error “ '__doPostBack' is undefined”
Error: 'WebForm_DoPostBackWithOptions' is undefined
Don’t render script tag for webresource.axd
Don’t render hidden field “__EVENTTARGET” and “__EVENTARGUMENT”
After googling I under stand , IIS doesn't recognize user agent header sent by IE11.
Workaround I noticed , either apply latest server patch or update .Browser file .
I tried with updating .browser file in IIS for my site but it didn’t help me.
Not sure about which patch to apply

Installing ASP.Net from "Turn windows features on or off" fails

For whatever reason my Visual studio solution no longer loads some projects.
After clicking on the website in IIS I Noticed some configurations no longer present suggesting I needed to install ASP.Net from my control panel using the "Turn Windows features on or off" feature.
After I click on the ASP.Net option under IIS and choose OK I get the dialog
"An error has occurred. Not all of the features were successfully changed"
I noticed that when I go through IIS Manager, under the ISAPI Filters section I see ASP.Net versions
ASP.Net_2.0.50727.0 and ASP.Net_2.0.50727-64
I assume I should be seeing version 4.
Any ideas how this can be fixed would be great.
Going to the Asp.Net4 directory and doing a aspnet_regiis.exe -r does not seem to work for me either as when I go to the websites I am still missing the ASP.Net configuration options.
I have done alot of uninstalls and re installs.
Any help is greatly appreciated.

Crystal Report v10.5 toolbar not visible on Firefox but visible on IE and Chrome

I am using crystal report v10.5 with visual studio 2008 to develop crystal reports.The problem I am facing is with the toolbar which is not visible on Firefox but it is visible on IE and Chrome.
I have installed same version on both development machine and on production server which is Crystal report v10.5. My development machine is Windows 7 32bit and production is Windows 2008 64bit.
I have tried solutions mentioned on numerous forums such as
Copy the 'aspnet_client' folder from 'C:\Inetpub\wwwroot' to 'C:\Inetpub\wwwroot\your-website-name'.
create a new virtual directory in your web site and point it to "C:/Inetpub/wwwroot/aspnet_client".
Application pool is to be changed to "Classic" instead of "Integrated".
Set the application pool of your application to operate under LOCAL SERVICE permission.
But still I am not able to show toolbar on Firefox.
Configurations:
Visual Studio 2008
.Net Framework 3.5
Crystal Report for runtime 10.5
Windows Server 2008 64bit
Can anyone point me to the right direction?
Edit- I recently upgraded from Windows 2003 to Windows 2008 and the same version for CR 10.5 was working as expected without any mentioned solutions above.
Thank you
You need to add ClientTarget="uplevel" to the page directive of the aspx file.
<%# Page ClientTarget="uplevel" ... %>
It seems that there are compatibility issues between CR and certain browsers depending on the version of CR. There is a very helpful post here that has links to a compatibility table. I suggest to check that out and then see if you can maybe upgrade to a different version of CR.
Hope that helps.
My application use last Crystal Runtime on x64 server and work on firefox too.
1) If the toolbar is not visible there should be a reason (press F12 in firefox.. what do you see? 404 error? 500 error? Please post it!)
2) Crystal Reports Runtime 13.x IS available for X64 servers too.. There is no reason to use an old runtime containing many bugs resolved in other releases.
You can get it here (get MSI 64 bit - Support Pack 8)
After updating runtime you have to copy the 'aspnet_client' folder again fi you did (new virtual directory in your web site is a better approach)
After updating runtime you could need a little hack to let an application developed with older dll work with new dll. There are few rows you have to put into web.config described here.

ASP.Net Application deployment on Windows Server 2003

I'm trying to deploy an ASP.Net application I developed to a Windows Server 2003 System but I get a error message when running the Site.
The first thing is that I get a Null Reference exception when I want to access my custom configuration section. So I figured that maybe the System.Configuration Assembly might not be installed. However I removed the reference and included the database directly into code to see if it works without.
But now I'm getting another error that a third party server control is not recognized.
Error Message: Server label
"trirand:JQGrid" unknown.
The same application runs just fine on my XP machine with IIS 6 installed so I wonder if I'm missing some installation. This is the first ASP.Net Application on that machine as before there were only ASP tools. I think that the .Net Framework 3.5 SP1 is installed but I'm not sure. Another question is if the ASP.Net is integrated into the .Net Framework of if I need a different install package.
Update:
I experienced a weird behaviour: I added the obviously wrong element <asdf> to the web.config file. On my development machine that gave me the expected error, but on the server nothing happened at all. So it seems like it some does not recognize my web.config file.
You need to check if the windows server system is loaded with the software your application required.
The folder v3.5 should be there in the following location.
C:\WINDOWS\Microsoft.NET\Framework\v3.5
Also you need to check if asp.net is installed on the system, if you are not sure then do install it, installing it if it is already there have no side effects.
To install asp.net type the following commands in DOS prompt.
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
// then
aspnet_regiis.exe -i
Then also, confirm in IIS that correct version of asp.net is selected for your website.
To check; go to your website properties in IIS
then select ASP.NET tab then check ASP.NET version it should be 2.0.50727 for websites below .net version 4.0
Good Luck!

What is "IIS 7 Recommended Configuration" in Web Platform Installer 3.0?

Just installed the new IIS Express today and saw that the Web Platform Installer also has the option to install "IIS 7 Recommended Configuration".
But I couldn't actually figure out anywhere what it does?
Anyone using it?
quote site
The IIS 7 Recommended Configuration in
WebPI v3 is the equivilent of the IIS
7 components that were installed
automatically in WebPI v2 when you
installed an application.
For example, in WebPI v2 and on a
clean Win7 machine, if you selected to
install DotNetNuke, WebPI would
automatically bring along a set of IIS
components so your application would
function.
WebPI v3 does the same thing, but now
we've added an entry to allow you to
easily install our recommended set of
IIS7 components without installing an
application
For reference, here is the list of
components
Static Content
Default Document
Directory Browse
HTTP Errors
HTTP Logging
Logging Libraries
Request Monitor
Request Filtering
HTTP Static Compression
Management Console
ASP NET
NetFX Extensibility
ISAPI Filter
ISAPI Extensions
This seems to be from the Chris Sfanos post here: http://forums.iis.net/t/1174703.aspx
But it doesn't really say what it improves over what IIS 7 already has.

Resources