Select to view content in your preferred language

Error

1016
5
06-28-2010 08:24 PM
Divyaprasad
Emerging Contributor
Hi

I have built a poject where im planning to include flexviewer as a link in the HTML webpage.
Im having a problem in calling the flexviewer from webpage.

link given to call flexviewer application is : bin-debug\index.html

it navigates to the page but gives an error

Error: Event Target: [object HTTPOperation]

Event Type: fault

Fault Code: InvokeFailed

Fault Info: Error #2148


Flex builder is not installed in the present system on which im trying to run this project. Is this error because of the absence of flex builder, or placing files in wrong folders, or server problem.. Im clueless. Anyone with the solution for this?? Please help.

I have attached a screeshot if that helps.

Divya
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Divya,

    A link location of "bin-debug\index.html" is not going to work, you should not be linking to anything from the bin-debug folder as that is just for debuging. When you export a release build then the contents of the bin-release folder should be copied to a virtual directory (if IIS) or httpDocs (if Apache) and then you should be using a fully qualified URL in your link. Your link should look something like this "http://yourserver/yourvirtualdirectory/index.html.
0 Kudos
Divyaprasad
Emerging Contributor
Hey Robert

Im back after a long break with my problems, again. I tried building my project using
project --> export release build and it is getting built [ignoring all the warnings] but when i paste these contents to the virtual directory and try running, it is not showing up as it is suppose to. In flexveiwer its neither displaying the styling of banner nor the styling of widgets. but all the tools are present.

Im sorry if this is confusing. will try to get screenshot n attach it in my next post. Help is really needed.

Thank you.
0 Kudos
Divyaprasad
Emerging Contributor
problem is solved. the style compiled file was not placed in a place where it had to be. once i copied it in right place everything worked perfect. Thanks a lot Robert for all your help.. Thank u soo much.. 🙂
0 Kudos
Divyaprasad
Emerging Contributor
Robert

I tried to run my application in different server i.e, server2 using the services available in the same. I did this by replacing the URL in XML file. But this is not helping and the application did not work. Im not getting where i went wrong and what to do. please help. ESRI is the only source of help i have got. so please please help me and reply.

Divya
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Divya,

   Do you have a crossdomain.xml file on server2? Have you read the concept portion of the help that talks about deploying your app?

http://help.arcgis.com/en/webapi/flex/help/content/deploy_application.htm
0 Kudos