无法读取远程服务器上的资源文件数据 [英] Can't Read Resource file data on remote server

查看:336
本文介绍了无法读取远程服务器上的资源文件数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用asp.net网站,我已经创造了一些资源文件来存储一些数据,该网站是工作在我的本地机器,但是当我发表它,我得到了一个错误,它无法从资源数据文件

所以任何一个可以告诉我是怎么回事,请

由于提前

这是错误


  

分析器错误


  
  

描述:资源的解析过程中出现错误
  此请求提供服务所需。请检查下列特定
  分析错误详细信息并适当地修改源文件。


  
  

分析器错误信息:与关键URLFlashHeader的资源对象
  没有被发现。



解决方案

这是由作品:

1的生成操作设置为内容

2 - 将复制到输出目录总是复制

I have created a website using asp.net and I have created some resource files to store some data , the website is working in my local machine but when I published it I got an error that it can't read data from resource file

so can any one tell me what is going on please

Thanks in Advance

this is the error

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The resource object with key 'URLFlashHeader' was not found.

解决方案

It's Works by :

1- Set the "Build Action" to Content

2- Set the "Copy to Output Directory" to Copy always

这篇关于无法读取远程服务器上的资源文件数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆