are you sure you have those directories set up? show your directory structures and your own web.config
解决方案 »
- cookies保存值保存不了
- 如何固定这个页面的表头[搞定者赠送40分]
- QQ校友录那样的asp.net源代码,
- access数据库打开时提示“不能识别地数据库格式”
- 求解GridView帮定问题!~~
- 做好的Asp.NET1.1站點,應該如何部署到網站空間呢?
- 用UrlEncode方法传给另一页面的之后,那个接受值得页怎样获得值呢?
- windows xp 下下载文件导致ie关闭,请高手出手!
- 怎么在girdview里面的文字换成图片
- 请问哪儿有msdn.microsoft.com左边导航栏的源代下载?
- 关于网页中设置<object>时,clsid是如何获取的?
- 如何读出datagrid中的总条数?
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin3"/>
</assemblyBinding>
</runtime>
总是出错:未能加载类型
================
配置文件<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="c#" debug="true" />
<customErrors mode="Off" />
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin3"/>
</assemblyBinding>
</runtime>
</configuration>
========================
目录结构
项目-school
虚拟目录-http://localhost/school/
物理目录-C:\Inetpub\wwwroot\school
\index.aspx
\bin3
\bin3\school.dll
\common
\images
但asp.net默认是从程序根bin目录找这个dll现在想将几个程序放同一个虚拟站点,置于不同文件夹
同时将各自的dll移动,不放在虚拟站点根bin目录怎么去找?
不知你的asp.net是什么版,我的是1.0,1.1不知是不是还有这问题
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<publisherPolicy apply="yes" />
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<publisherPolicy apply="yes" />
<probing privatePath="bin2"/>
</assemblyBinding>
</runtime>
</configuration>then try again to see if you can access those pages
分析器错误信息: 未能加载类型“nethard.Global”。
--
就是没有找到nethard.dll
原名之后就好了
bin2还是不行.
<?xml version="1.0" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin2"/>
</assemblyBinding>
</runtime>
</configuration>
就可以用了。如果你那里有问题,那么你要确定你的web.config在应用程序的根目录下.
------------- LevinForum(forum.lostinet.com)你那边有没有配置成功?
===另.你那论坛不错.我在源码遍寻不到form..更别提ViewState了