cxml file is not working after deploying to Sharepoint Server

hi

i have created a Empty Sharepoint Project and added a New Module SampleModule and then added the cxml file to this SampleModule

below is the Element.xml code.

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="SampleModule" Url="Style Library">
  <File Path="SampleModule\CatalogueSample.cxml" Url="SampleModule/CatalogueSample.cxml" />
</Module>
</Elements>


i deployed this Sharepoint project on the Development Server using Visual Studio 2010 and when i tried to access this file using the Url http://spdevserver/Style%20Library/SampleModule/CatalogueSample.cxml it is asking for download, and in IE and Chrome i can directly download the file so it is ok in Development Server, my silverlight PivotViewer application is also working fine.

but when i deploy wsp solution in Production server and it is getting deployed successfully but when i try to access the file by using the url http://spprodserver/Style%20Library/SampleModule/CatalogueSample.cxml i am not getting any download prompt and i am not able to download the file in IE or Chrome,  i can just see a blank page. my silverlight pivotviewer application is also not working may be because of this.

please help me to resolve this issue.

November 25th, 2013 3:38am

Hey, 

from my point of view this should be related to Internet Explorer Security settings, since the deployment of your solution should behave the same on both systems. Maybe the sharepoint site is not set as trusted on your prod system. To make sure deployment went through as expected you should use SharePoint Designer to find out if the file exists.

Hope this helps,

Andreas

Free Windows Admin Tool Kit Click here and download it now
November 25th, 2013 4:22am

hi,

The file exists , i checked using Sharepoint Designer and also by Windows Explorer 

It is working in Development by in productions it is not 

November 25th, 2013 4:52am

Have you checked IE security settings? Obviously there's a trust issue. On your dev system, did you change the file handling from strict to permissive in the web application settings?
Free Windows Admin Tool Kit Click here and download it now
November 25th, 2013 4:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics