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.