上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
摘要: 为了让页面javascript订阅Silverlight控件的事件,会包装一个事件机制,最后内部通过调用HtmlPage的一些函数触发它,比如HtmlPage.Window.Eval、HtmlPage.Window.Invoke等。但是在Safari浏览器下这类交互无法成功,比如弹出一个消息框:HtmlPage.Window.Eval("alert('test');");HtmlPage.Window.Alert("test");HtmlPage.Window.Invoke("alert", "test&qu 阅读全文
posted @ 2013-03-05 15:37 junchu25 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: 用户反馈一个Silverlight应用在Safari下无法使用,启动这个应用的工作方式为ajax获取特定数据并在回调函数中根据返回的数据拼接url,最后调用window.open函数打开它。通过Web Inspector调试发现window.open函数返回undefined。查阅资料发现Safari由于安全机制只有用户触发代码中才会成功,对于在回调函数中使用window.open函数,比如setTimeout、ajax等的callback都会失败。1 function btnOpen_click(sender, e) {2 window.open(""); 3 }1 fu 阅读全文
posted @ 2013-03-04 15:35 junchu25 阅读(1294) 评论(0) 推荐(1) 编辑
摘要: 运行Microsoft SQL Server 2012的安装程序,Maintenance选项卡单击Edition Upgrade(忽略自动定位Launch Windows Update to search for product updates)。弹出窗口中Next直到需要输入Product key,建议使用企业核心版序列号升级,安装程序只会简单的更新相关配置文件而其它版本需要下载对应更新。 阅读全文
posted @ 2013-02-28 19:47 junchu25 阅读(413) 评论(0) 推荐(0) 编辑
摘要: DBeaver可以使用Microsoft JDBC Driver for SQL Server,默认端口1433。需要注意TCP Dynamic Ports是否启用,如果启用则需要修改DBeaver的Port。如何设置MS SQL Server TCP Dynamic Port:1、运行SQL Server Configuration Manager。2、SQL Server NetworkConfiguration标签选择对应的实例,选中TCP/IP,鼠标右键Properties。3、确认连接的IP是否使用了指定的port,如果没有则定位到IPAll,查看TCP Dynamic Ports。 阅读全文
posted @ 2013-02-18 11:11 junchu25 阅读(12051) 评论(0) 推荐(1) 编辑
摘要: 由于Visual Studio 2012的Windows Phone 8模拟器基于Hyper-V,让部分开发人员很难抛弃它,而同时又想要运行一些Hyper-V不支持的操作系统(比如Mac OSX),这时就需要安装像VMware这样的虚拟机软件。出于Hypervisor的限制在安装VMware时会提示当前系统已安装了Hyper-V,需要将它卸载才能够继续。这时可以通过设置两个启动菜单解决该问题:1、运行命令行提示符,输入如下指令:bcdedit /copy {current} /d "Windows Server 2012(No Hyper-V)"2、记录第一步命令执行后显示 阅读全文
posted @ 2013-01-31 22:37 junchu25 阅读(4865) 评论(0) 推荐(0) 编辑
摘要: 今天调试一个Windows Phone 7.1程序,Visual Studio 2012中添加断点就会立刻crash(不加任何断点可以正常运行)。最初以为是偶然现象,反复几次以后查看了详细信息,提示如下:Application: devenv.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.NullReferenceExceptionStack: at TypeScriptDebugEngi.. 阅读全文
posted @ 2013-01-05 20:47 junchu25 阅读(374) 评论(0) 推荐(0) 编辑
摘要: Windows Phone Emulator启用Network Simulation提示如下错误:The Windows Phone Emulator wasn't able to create the external network switches:Something happened while creating a switch: Failed while creating virtual Ethernet switch.Ethernet port '{6cfb8175-1487-4d83-8a56-be1b8644e69a}' bind failed: Th 阅读全文
posted @ 2013-01-04 10:24 junchu25 阅读(901) 评论(2) 推荐(0) 编辑
摘要: System.Xml.Serialization.XmlSerializer反序列化类型包含集合自动属性运行在.NET Framework 4.0下则会抛出如下异常信息:System.InvalidOperationException: Unable to generate a temporary class (result=1).error CS0200: Property or indexer 'SomeClass.CollectionProperty' cannot be assigned to — it is read only.出于对集合属性Classes的set保护 阅读全文
posted @ 2012-12-15 01:22 junchu25 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 打开项目文件,查找如下配置节定义:<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />确认是否符合XML规范,比如下面的错误定义:<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplicatio 阅读全文
posted @ 2012-12-12 14:05 junchu25 阅读(2977) 评论(0) 推荐(0) 编辑
摘要: Windows Store App类型项目打开任意xaml加载设计器视图提示:System.ExceptionPackage failed updates, dependency or conflict validation. (Exception from HRESULT: 0x80073CF3) at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri .. 阅读全文
posted @ 2012-12-11 19:53 junchu25 阅读(1603) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页