asp.net, sql, msql, entity framework , mysql ,mcv, c# .net, hatalar, sorunlar ,kodlama, coding
May 10, 2012 - Asp.NET    No Comments

ASP.NET dinamik olarak Page.Load içerisinde Iframe kullanımı

Bildiğiniz  üzere Iframe  web sayfanız  içerisinde  yer alan başka sayfaları çağırmaya yarayan pencerelerdir.
Bir çok Html kontrolünde olduğu gibi  Asp.Net üzerinde  dinamik olarak Html kontrollerini  kullanabilmemiz için  runat=”server” özniteliğini eklememiz gerekli.
Bir aspx sayfada en basit  Iframe  kullanımı aşağıdaki gibidir.

Read more »

Nis 26, 2012 - Sorunlar    No Comments

~/Telerik.Web.UI.WebResource.axd’ is missing in web.config

Problem: When you place RadScriptManager on aspx page and compile it gives error like,
“ ‘~/Telerik.Web.UI.WebResource.axd’ is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager ”

Solution: Its Simple And fast you Just Have to register The radScriptmanager and it will modify the web config file automatically.
Example:
Read more »

Nis 26, 2012 - Sorunlar    No Comments

Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’.

Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’. Uygulamanızdan SQL Server üzerinde islem (veri çekmek yada yazmak gibi) yapmak istediğinizde “Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’.”  seklinde bir hata mesajı alıyorsanız önce SQL Server üzerinde ilgili veritabanındayken New Query tılyayıp alttaki sorguyu çalıstırın. sp_grantlogin ‘NT AUTHORITY\NETWORK SERVICE’ Sonra da veritabanınızın altındaki security – users bölümünde ‘NT AUTHORITY\NETWORK SERVICE’ kullanıcısının üzerinde sağ tıklayıp properties seçerek Role Members kıısmından veritabanınız için gerekli (db_datareader, db_datawriter gibi) yetkileri verirseniz hatadan kurtulabilirsiniz.

Nis 26, 2012 - Sorunlar    No Comments

HTTP Error 500.21 – Internal Server Error Handler “PageHandlerFactory- Integrated” has a bad module “ManagedPipelineHandler” in its module list

HTTP Error 500.21 – Internal Server Error Handler
“PageHandlerFactory-Integrated” has a bad module
“ManagedPipelineHandler” in its module list
hatasını alıyorsanız asağıdaki komut ile IIS i tekrar
sizdeki güncel .net Framework ile yapılandırarak hatayı
çözmüs olucaksınız.

Read more »

Nis 26, 2012 - Sorunlar    No Comments

[Resolved] Could not load file or assembly ‘XXXXX’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

I have recently switched my development environment from 32-bit to 64-bit by installing Windows Server 200864-bit and modify it to be used as workstation as described here http://www.win2008workstation.com/ and I’m really amazed with it’s performance.

I have faced the problem mentioned in the post title when I’m trying to run a web application included in one of our development solutions.

couldnot load

I have checked the project which has the DBHelper as it’s output and I’ve discovered that the project configured to target x86 platform and as I’m working with 64-bit it will have such ‘incorrect format’ error.

How to fix it:

Simply follow the steps below :

  • open project properties window.
  • select Build tab
  • Change it to ‘Any CPU’
  • Save your changes.
  • Compile your project and run :)
    Read more »
Sayfalar:123»