摘要:这两天用ASP.NET写一个导入EXCEL数据到ORACLE的程序,调试通过,但是部署到服务器上就不能用了。Retrieving the COM class factory for component with CLSID {00024500-0000-000后来终于解决:在服务器上,1,运行dcomcnfg打开组件服务2,依次展开"组件服务"->"计算机"->"我的电脑"->"DCOM配置"3,找到"Microsoft Excel应用程序"右键打开属性对话框点击"安
阅读全文
摘要:新建silverlight business application 此时打开web.config文件,模板已经自动生成如下设置:<connectionStrings> <add name="ApplicationServices" connectionString="data source=./SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|/aspnetdb.mdf;User Instance=true" providerName="S
阅读全文
摘要:usingSystem;usingSystem.Windows;usingSystem.Windows.Data;usingSystem.Windows.Media;usingSystem.Windows.Controls;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.Collections.ObjectModel;usingSystem.Linq;usingSystem.Text;usingSystem.IO;usingSystem.Reflection;usingSystem.Xml.Linq;pub
阅读全文
摘要:报错:Unable to read the project file 'XNTVOD.AdminClient.csproj'. C:\Path\To\MyProject.csproj(593,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> decla
阅读全文
摘要:修改IIS:配置 MIME类型 .bin sl/octet-stream .xaml application/xaml+xml .xap xapapplication/x-silverlight将整个项目Web下的所有文件Copy到IIS的虚拟目录下面就可以了。问题:为什么直接在VS2010中直接右键publish老是出错呢?不解报错内容:Error 1 Web deployment task failed.(The metabase path '/lm/w3svc/<siteid>/ROOT/..' is not supported. Paths must be
阅读全文